Compare commits

..

2 Commits

Author SHA1 Message Date
Gil Portenseigne 073aacb1a1 ajout alias show pass 2026-07-17 15:57:09 +02:00
Gil Portenseigne 74eae6cdb2 On mute tout c'est moins génant 2026-07-16 10:33:37 +02:00
2 changed files with 8 additions and 4 deletions

View File

@ -18,6 +18,10 @@ alias upr='find plugins -name ".git" -type d -prune | while read -r repo; do \
done
'
alias pshow='find ~/.password-store -name "*.gpg" \
| sed "s|.*/.password-store/||; s|\.gpg$||" \
| fzf \
| xargs -r pass show'
export PATH=$HOME/.local/bin:$PATH

View File

@ -62,8 +62,8 @@ bindsym $mad+Backspace exec "dotcleaner"
bindsym $mad+Shift+s exec "$HOME/.config/sway/scripts/screentemp toggle; pkill -RTMIN+5 waybar"
# Push-to-talk : maintenir Ctrl+!
bindsym --release Ctrl+exclam exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 1
bindsym Ctrl+exclam exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 0
bindsym Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"
bindsym --release Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 1; done"
# Ctrl+Shift+! : active le micro de façon permanente
bindsym Ctrl+Shift+exclam exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 0
# Ctrl+Shift+! : mute permanent
bindsym Ctrl+Shift+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"