You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#! /bin/sh
. ~/.config/bspwm/panel/panel.conf
if xdo id -a "$PANEL_WM_NAME" > /dev/null; 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
xtitle -sf 'T%s\n' | sed -u 's/^\(.................................................\).*\(..........................\)/\1...\2/' > "$PANEL_FIFO" & bspc subscribe report > "$PANEL_FIFO" & tick > "$PANEL_FIFO" & while true; do [ -f /tmp/djsissom-jackmute ] && echo 'P' > "$PANEL_FIFO" || echo 'P' > "$PANEL_FIFO"; sleep 0.1; done &
~/.config/bspwm/panel/panel_bar < "$PANEL_FIFO" | lemonbar -n "$PANEL_WM_NAME" -g "x$PANEL_HEIGHT" -a 20 -B "#BF000000" -F "#FF9A875F" -f "$PANEL_FONT" -f "$PANEL_FONT2" -f "$PANEL_FONT3" | sh &
wid=$(xdo id -m -a "$PANEL_WM_NAME") xdo above -t $(xdo id -N Bspwm -n root | sort | head -n 1) $wid
wait
|