Small fixes

This commit is contained in:
Marko Korhonen 2020-03-10 11:48:16 +02:00
parent c1dc4a3faa
commit 2ae85c25f5
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 4 additions and 3 deletions

View file

@ -115,9 +115,9 @@ bindsym $mod+r mode "resize"
bindsym $mod+b exec firefox-nightly
# media keys
bindsym XF86AudioRaiseVolume exec pamixer -ui 1 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioLowerVolume exec pamixer -ud 1 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
bindsym --locked XF86AudioRaiseVolume exec pamixer -ui 1 && pamixer --get-volume > $SWAYSOCK.wob
bindsym --locked XF86AudioLowerVolume exec pamixer -ud 1 && pamixer --get-volume > $SWAYSOCK.wob
bindsym --locked XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
bindsym --locked XF86AudioNext exec playerctl next
bindsym --locked XF86AudioPrev exec playerctl previous
bindsym --locked XF86AudioPlay exec playerctl play-pause

View file

@ -10,6 +10,7 @@ exec {
mako
wl-paste -t text --watch clipman store
mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
mpDris2
}
exec_always {