X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/d760033f89f7284473895b207e1e36b2f934e8b8..64b0f6eb8c34196d3e9d1680eba5bdd5c4f1b0c8:/bspwm/.local/bin/panel?ds=sidebyside diff --git a/bspwm/.local/bin/panel b/bspwm/.local/bin/panel index a981f43..f04841b 100755 --- a/bspwm/.local/bin/panel +++ b/bspwm/.local/bin/panel @@ -15,16 +15,16 @@ bspc control --subscribe > "$PANEL_FIFO" & #xtitle -sf 'T%s' > "$PANEL_FIFO" & #clock -sf 'S%a %H:%M' > "$PANEL_FIFO" & -#pamixer --get-volume > /tmp/volinfo -#if $(pamixer --get-mute) ; then +pamixer --get-volume > /tmp/volinfo +if $(pamixer --get-mute) ; then echo ⮝ > /tmp/spkicon -#else -# echo ⮟ > /tmp/spkicon -#fi +else + echo ⮟ > /tmp/spkicon +fi conky > "$PANEL_FIFO" & . panel_colors -cat "$PANEL_FIFO" | panel_bar | bar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY1","$PANEL_FONT_FAMILY2" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" & +cat "$PANEL_FIFO" | panel_bar | bar-aint-recursive -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY1","$PANEL_FONT_FAMILY2","$PANEL_FONT_FAMILY3" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" & wait