X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/979cd8d923e56e3c69aadd70699df04c4479f8c5..7791c200d9b385f722863cbaf2341dafffdb272f:/bspwm/.local/bin/panel diff --git a/bspwm/.local/bin/panel b/bspwm/.local/bin/panel deleted file mode 100755 index e8e1b43..0000000 --- a/bspwm/.local/bin/panel +++ /dev/null @@ -1,30 +0,0 @@ -#! /bin/sh - -if [ $(pgrep -cx panel) -gt 1 ] ; then - printf "%s\n" "The panel is already running." >&2 - exit 1 -fi - -trap 'trap - TERM; kill 0' INT TERM QUIT EXIT - -[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO" -mkfifo "$PANEL_FIFO" - -bspc config top_padding $PANEL_HEIGHT -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 - echo ⮝ > /tmp/spkicon -else - echo ⮟ > /tmp/spkicon -fi -conky > "$PANEL_FIFO" & - -. panel_colors - -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