Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /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 %b %d, %I:%M %p' > "$PANEL_FIFO" &
- #echo "Z[Shit goes here]" > "$PANEL_FIFO" &
- conky > "$PANEL_FIFO" &
- . panel_colors
- cat "$PANEL_FIFO" | panel_bar | lemonbar -g 1840x$PANEL_HEIGHT+1960+0 -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" &
- wait
Advertisement
Add Comment
Please, Sign In to add comment