Compare commits

...

5 Commits

Author SHA1 Message Date
oxypomme 7f992afd2c fix: fixed nvm config 2025-08-10 10:25:59 +02:00
oxypomme 4b9806c5f8 fix: fixed ssh config for some remotes 2025-08-10 10:24:55 +02:00
oxypomme 628f7aa976 fix: fixed nvm autoloading 2025-07-22 08:31:42 +02:00
oxypomme 297dab51e8 fix: waybar config 2025-07-22 08:31:24 +02:00
oxypomme b5bb61b431 fix: fixed lid config 2025-07-22 08:30:55 +02:00
9 changed files with 46 additions and 23 deletions

View File

@ -48,7 +48,7 @@ profile Nomad {
output $INTERNAL enable
exec ~/.config/kanshi/lid.sh
exec tuned-adm profile balanced
exec tuned-adm profile balanced-battery
}
profile Home {

View File

@ -3,10 +3,18 @@
LAPTOP_OUTPUT="eDP-1"
LID_STATE_FILE="/proc/acpi/button/lid/LID0/state"
# Resume previous state
read -r LS < "$LID_STATE_FILE"
case "$LS" in
*open) swaymsg output "$LAPTOP_OUTPUT" enable ;;
*closed) swaymsg output "$LAPTOP_OUTPUT" disable ;;
*) echo "Could not get lid state" >&2 ; exit 1 ;;
*open)
swaymsg output "$LAPTOP_OUTPUT" enable
;;
*closed)
swaymsg output "$LAPTOP_OUTPUT" disable
systemctl suspend
;;
*)
echo "Could not get lid state" >&2
exit 1
;;
esac

View File

@ -49,6 +49,10 @@ output * bg ~/Images/Perso/Wallpapers/wave.jpg fill
# -> Managed by Kanshi (~/.config/kanshi/config)
# Watch lid changes
bindswitch --reload --locked lid:on output eDP-1 disable
bindswitch --reload --locked lid:off output eDP-1 enable
### Idle configuration
# -> Managed by swayidle (/usr/share/sway/config.d/90-swayidle.conf)

View File

@ -1,5 +1,5 @@
# thunderbird reminders
for_window [app_id="org.mozilla.Thunderbird" title="[0-9]+ rappels?"] {
floating enable
resize width 960 px height 540 px
resize set 960 540
}

View File

@ -0,0 +1,3 @@
for_window [app_id="xdg-desktop-portal-gtk" title="Open (File|Folder)"] {
floating enable
}

View File

@ -0,0 +1,11 @@
for_window [app_id="Zoom Workplace"] {
floating enable
}
for_window [app_id="Zoom Workplace" title="Zoom Workplace - Free Account"] {
floating disable
}
for_window [app_id="Zoom Workplace" title="Meeting"] {
floating disable
}

View File

@ -140,11 +140,10 @@
]
},
"power-profiles-daemon": {
"hide-empty-text": true,
"hide-empty-text": false,
"format": "{icon}",
"format-icons": {
"unknown": "",
"balanced": "",
"balanced": "",
"performance": "",
"power-saver": "",
}

View File

@ -9,8 +9,6 @@ Host vd-ezm
HostName vdezmesure.intra.inist.fr
Host vi-ezm
HostName viezmesure1.intra.inist.fr
# Host vp-ezm
# HostName vpezmesure1.intra.inist.fr
Host *-ezm
User ezmesure
@ -26,9 +24,9 @@ Host *-ezp
# Analogist
Host vd-analogist
Host vdanalogist.intra.inist.fr
HostName vdanalogist.intra.inist.fr
Host vi-analogist
Host vianalogist1.intra.inist.fr
HostName vianalogist1.intra.inist.fr
Host vp-analogist
HostName vpanalogist.intra.inist.fr
# PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss
@ -48,7 +46,7 @@ Host vd-ezu
Host vi-ezu
HostName viunpaywall.intra.inist.fr
Host *-ezu
User ezunpaywall
User ezunpaywall
# ReadHoldings
Host vd-readholdings

18
.zshrc
View File

@ -85,6 +85,15 @@ unsetopt HIST_VERIFY # Execute commands using history (e.g.: using !$) immediate
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# nvm configuration
# zstyle ':omz:plugins:nvm' lazy yes
zstyle ':omz:plugins:nvm' autoload yes
zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
# fzf-tab configuration
zstyle ':fzf-tab:complete:cd:*' fzf-preview '/bin/eza -1 --color=always $realpath'
zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word'
ZOXIDE_CMD_OVERRIDE="cd"
# Which plugins would you like to load?
@ -110,15 +119,6 @@ eval "$(oh-my-posh init zsh --config ~/.p10k.omp.json)"
# User configuration
# nvm configuration
zstyle ':omz:plugins:nvm' lazy yes
zstyle ':omz:plugins:nvm' autoload yes
# zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
# fzf-tab configuration
zstyle ':fzf-tab:complete:cd:*' fzf-preview '/bin/eza -1 --color=always $realpath'
zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word'
# export MANPATH="/usr/local/man:$MANPATH"
# VSCode shell integration