rename xprofile to xinitrc again
[~bandali/configs] / bspwm / .local / bin / panel
index a981f43..e8e1b43 100755 (executable)
@@ -15,16 +15,16 @@ bspc control --subscribe > "$PANEL_FIFO" &
 #xtitle -sf 'T%s' > "$PANEL_FIFO" &
 #clock -sf 'S%a %H:%M' > "$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
     echo ⮝ > /tmp/spkicon
-#else
-#    echo ⮟ > /tmp/spkicon
-#fi
+else
+    echo ⮟ > /tmp/spkicon
+fi
 conky > "$PANEL_FIFO" &
 
 . panel_colors
 
 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" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" &
 
 wait
 
 wait