This commit is contained in:
Marko Korhonen 2020-02-25 13:29:54 +02:00
parent 854ddf4ccd
commit 2b1e159301
2 changed files with 5 additions and 4 deletions

View file

@ -115,8 +115,8 @@ bindsym $mod+r mode "resize"
bindsym $mod+b exec firefox-nightly
# media keys
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > /tmp/sway.wob
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > /tmp/sway.wob
bindsym --locked XF86AudioMute exec pulseaudio-ctl mute
bindsym --locked XF86AudioNext exec playerctl next
bindsym --locked XF86AudioPrev exec playerctl previous
@ -135,8 +135,8 @@ bindsym $mod+m+l output eDP-1 transform 90
bindsym $mod+m+k output eDP-1 transform 0
# display brightness
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > /tmp/sway.wob
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > /tmp/sway.wob
# Switch to urgent workspace
bindsym $mod+u [urgent=latest] focus

View file

@ -3,6 +3,7 @@
exec {
systemctl --user import-environment
systemctl --user start sway-session.target
"tail -f /tmp/sway.wob | wob"
}
exec_always {