diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-08-18 02:48:41 +0200 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-08-18 02:48:41 +0200 |
commit | d17d81bd627c7a640b5d63dd58acb3a426553ca2 (patch) | |
tree | 0a67ee2f82b51c22c830de96584c76791c56b80a /Panel/lemonbar/panel | |
parent | de81781c8e860fe05ee9c68b3a20b39a12a33f9d (diff) | |
download | dotfiles-d17d81bd627c7a640b5d63dd58acb3a426553ca2.tar.gz dotfiles-d17d81bd627c7a640b5d63dd58acb3a426553ca2.tar.bz2 dotfiles-d17d81bd627c7a640b5d63dd58acb3a426553ca2.zip |
Seperate panel
Diffstat (limited to 'Panel/lemonbar/panel')
-rwxr-xr-x | Panel/lemonbar/panel | 29 |
1 files changed, 29 insertions, 0 deletions
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 & |