From 2b1e15930181098717129fc56210d446988dd38f Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 25 Feb 2020 13:29:54 +0200 Subject: [PATCH] Fix wob --- home/.config/sway/conf.d/05-keybinds.conf | 8 ++++---- home/.config/sway/conf.d/07-exec.conf | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/home/.config/sway/conf.d/05-keybinds.conf b/home/.config/sway/conf.d/05-keybinds.conf index 793fb41..034e5cc 100644 --- a/home/.config/sway/conf.d/05-keybinds.conf +++ b/home/.config/sway/conf.d/05-keybinds.conf @@ -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 diff --git a/home/.config/sway/conf.d/07-exec.conf b/home/.config/sway/conf.d/07-exec.conf index f4b5ff6..dbaa253 100644 --- a/home/.config/sway/conf.d/07-exec.conf +++ b/home/.config/sway/conf.d/07-exec.conf @@ -3,6 +3,7 @@ exec { systemctl --user import-environment systemctl --user start sway-session.target + "tail -f /tmp/sway.wob | wob" } exec_always {