From 69c17b42ad683719bfaa56d5afcfbd2101706292 Mon Sep 17 00:00:00 2001 From: juan Date: Mon, 9 May 2022 11:46:43 +0800 Subject: [PATCH] update wob appearance --- .config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index b298e2a..02e3d3a 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -50,7 +50,7 @@ client.background #3f464b #2a2f33 #bind fn keys bindsym XF86AudioMicMute exec amixer set Capture toggle -exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob +exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob -p 1 -b 2 -a top -M 48 --border-color '#474f54F0' --background-color '#2a2f33F0' --bar-color '#bfddb2F0' --overflow-mode wrap --overflow-background-color '#2a2f33F0' --overflow-bar-color '#d76e6ef0' --overflow-border-color '#474f54F0' bindsym XF86AudioRaiseVolume exec amixer sset Master 2048+ | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $SWAYSOCK.wob bindsym XF86AudioLowerVolume exec amixer sset Master 2048- | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $SWAYSOCK.wob bindsym XF86AudioMute exec amixer sset Master toggle | sed -En '/\[on\]/ s/.*\[([0-9]+)%\].*/\1/ p; /\[off\]/ s/.*/0/p' | head -1 > $SWAYSOCK.wob