From d17d81bd627c7a640b5d63dd58acb3a426553ca2 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 18 Aug 2015 02:48:41 +0200 Subject: Seperate panel --- Panel/lemonbar/panel | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 Panel/lemonbar/panel (limited to 'Panel/lemonbar/panel') diff --git a/Panel/lemonbar/panel b/Panel/lemonbar/panel new file mode 100755 index 0000000..0477467 --- /dev/null +++ b/Panel/lemonbar/panel @@ -0,0 +1,29 @@ +#! /bin/sh +cd ~/.tools/panel +. ./profile +. ~/.colors + +[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO" +mkfifo -m 777 "$PANEL_FIFO" + + +#bspc config top_padding $PANEL_HEIGHT +#bspc control --subscribe > "$PANEL_FIFO" & +./windows > "$PANEL_FIFO" & +echo "D`rpws current`" > "$PANEL_FIFO" & +volume -f 'V%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 -f "$FONT_FONT" -f "$ICON_FONT" -g x$PANEL_HEIGHT -F "$COLOR11" -B "$COLOR0" -u 3 & + +#sleep 1; +#stalonetray --geometry 1x1-415+2 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 20 & -- cgit v1.2.3-54-g00ecf