Update bspwm things
This commit is contained in:
parent
b6ce628e09
commit
622ebea2b0
3 changed files with 10 additions and 13 deletions
|
|
@ -6,6 +6,8 @@ PANEL_FONT_FAMILY='-misc-inputmononarrow-medium-r-*-*-12-*-*-*-*-*-*-*'
|
|||
COLOR_FOREGROUND='#FFAAAAAA'
|
||||
COLOR_BACKGROUND='#FF222222'
|
||||
|
||||
PANEL_WM_NAME='bar'
|
||||
|
||||
if [ $(pgrep -cx panel) -gt 1 ] ; then
|
||||
printf "%s\n" "The panel is already running." >&2
|
||||
exit 1
|
||||
|
|
@ -17,7 +19,7 @@ bspc config bottom_padding $PANEL_HEIGHT
|
|||
|
||||
$XDG_CONFIG_HOME/panel/panel_bar.py | lemonbar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" -b | while read -r line; do sh -c "$line"; done &
|
||||
|
||||
wid=$(xdo id -a bar)
|
||||
wid=$(xdo id -a "$PANEL_WM_NAME")
|
||||
tries_left=20
|
||||
while [ -z "$wid" -a "$tries_left" -gt 0 ] ; do
|
||||
sleep 0.05
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue