diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2021-03-18 19:00:21 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2021-03-18 19:00:21 +0530 |
commit | d8a18e04932dcb22aece8c0350df4915c785f284 (patch) | |
tree | f78b5ee03b635f51123ce4ac4bc5fc147cc0e0fc | |
parent | 29b6d79e5252b8e6af18898ee0d6d7596ffd0841 (diff) |
delayed the xmonad status bar because of error
-rwxr-xr-x | lemonblocks/start.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lemonblocks/start.sh b/lemonblocks/start.sh index c7b591ce..6b4f60ba 100755 --- a/lemonblocks/start.sh +++ b/lemonblocks/start.sh @@ -24,7 +24,6 @@ killall "lemonblocks" mkfifo /tmp/lemonblockspipe # start xmonad status lemonbar -xmonad-log | lemonbar -b -g 800x21+0+0 -B '#171520' -F '#ffffff' -o -3 -f 'Source Han Sans JP:size=10' -o 0 -f 'RobotoMono Nerd Font:style=Regular:size=15' & # Start lemonbar cat "/tmp/lemonblockspipe" | lemonbar -b -p -a "$CLICKABLE_AREAS" \ -g "$PANEL_WIDTH"x"$PANEL_HEIGHT"+"$PANEL_HORIZONTAL_OFFSET"+"$PANEL_VERTICAL_OFFSET" \ @@ -44,3 +43,6 @@ then else ./bin/lemonblocks fi + +sleep 5 # otherwise it crashes because it executes before xmonad starts +xmonad-log | lemonbar -b -g 800x21+0+0 -B '#171520' -F '#ffffff' -o -3 -f 'Source Han Sans JP:size=10' -o 0 -f 'RobotoMono Nerd Font:style=Regular:size=15' & |