actually wait til dmenu is done before showing bar
This commit is contained in:
@ -9,7 +9,7 @@ if [ -f /tmp/polybarhidden ]; then
|
|||||||
else
|
else
|
||||||
polybar-msg cmd hide
|
polybar-msg cmd hide
|
||||||
touch /tmp/polybarhidden
|
touch /tmp/polybarhidden
|
||||||
dmenu_run -fn "SauceCodePro Nerd Font-11" -nf "#f0f0f0" -nb "#0f0f0f" -sf "#f0f0f0" -sb "#8f8aac"
|
selection=$(dmenu_run -fn "SauceCodePro Nerd Font-11" -nf "#f0f0f0" -nb "#0f0f0f" -sf "#f0f0f0" -sb "#8f8aac") # only assigning a variable here to force the next command to wait til dmenu is done
|
||||||
polybar-msg cmd show
|
polybar-msg cmd show
|
||||||
rm /tmp/polybarhidden
|
rm /tmp/polybarhidden
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user