13 lines
262 B
Bash
Executable File
13 lines
262 B
Bash
Executable File
#!/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
|