diff options
Diffstat (limited to 'tools/panel/panel')
-rwxr-xr-x | tools/panel/panel | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/panel/panel b/tools/panel/panel index a9e5567..472b180 100755 --- a/tools/panel/panel +++ b/tools/panel/panel @@ -4,23 +4,25 @@ source ./profile source ~/.colors [ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO" -mkfifo "$PANEL_FIFO" +mkfifo -m 777 "$PANEL_FIFO" + bspc config top_padding $PANEL_HEIGHT bspc control --subscribe > "$PANEL_FIFO" & xtitle -sf 'T%s' > "$PANEL_FIFO" & volume -f 'V%i' > "$PANEL_FIFO" & -battery -i 60 -sf 'B%i' > "$PANEL_FIFO" & +battery -i 60 -sf 'B%s %i' > "$PANEL_FIFO" & clock -i 60 -sf 'Z%d %a %H:%M' > "$PANEL_FIFO" & ./music > "$PANEL_FIFO" & #./load > "$PANEL_FIFO" & #essid -sf 'E%s' -i 30 -w wlp2s0 > "$PANEL_FIFO" & # ./signal > "$PANEL_FIFO" & +unbuffer alsactl monitor | grep --line-buffered 'Headphone Jack' | while read line; do volume -f 'V%i' > $PANEL_FIFO;done & source ./panel_colors -cat "$PANEL_FIFO" | ./panel_bar | lemonbar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" & +cat "$PANEL_FIFO" | ./panel_bar | lemonbar -f "$FONT_FONT" -f "$ICON_FONT" -g x$PANEL_HEIGHT -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" & sleep 1; -stalonetray --geometry 4x1-1+1 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 18 & +stalonetray --geometry 1x1-415+2 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 18 & |