Initial commit
This commit is contained in:
12
hide_bar.sh
Executable file
12
hide_bar.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Simple script to hide Polybar.
|
||||
|
||||
if [ -f /tmp/polybarhidden ]; then
|
||||
bspc config top_padding 45
|
||||
polybar-msg cmd show
|
||||
rm /tmp/polybarhidden
|
||||
else
|
||||
polybar-msg cmd hide
|
||||
bspc config top_padding 0
|
||||
touch /tmp/polybarhidden
|
||||
fi
|
Reference in New Issue
Block a user