From d8a18e04932dcb22aece8c0350df4915c785f284 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 18 Mar 2021 19:00:21 +0530 Subject: delayed the xmonad status bar because of error --- lemonblocks/start.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' & -- cgit v1.2.3