From e512f4cdd8cc4761245c55983f0527bd93e6503c Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Thu, 2 Feb 2023 20:07:56 -0600 Subject: use wob to show status when setting volume and brightness --- config/sway/config | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'config/sway') diff --git a/config/sway/config b/config/sway/config index 5e951d2..a2a0284 100644 --- a/config/sway/config +++ b/config/sway/config @@ -69,13 +69,7 @@ output * background /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1366x768.png ### wob indicator set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock -exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | \ - wob --border-color "#676364ff" \ - --background-color "#dee2e0ff" \ - --bar-color "#676364ff" \ - --offset 0 \ - --border 1 \ - --padding 5 +exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob ### Key bindings # @@ -110,6 +104,8 @@ exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | \ bindsym XF86AudioLowerVolume exec ~/.local/bin/setvol down > $WOBSOCK bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle + bindsym XF86MonBrightnessDown exec ~/.local/bin/setbright down > $WOBSOCK + bindsym XF86MonBrightnessUp exec ~/.local/bin/setbright up > $WOBSOCK #bindsym XF86MonBrightnessDown exec brightnessctl set 5%- #bindsym XF86MonBrightnessUp exec brightnessctl set +5% #bindsym XF86AudioPlay exec playerctl play-pause -- cgit v1.2.3