dotfiles/script/polybar-toggle
2021-01-12 16:47:13 +02:00

9 lines
150 B
Bash
Executable file

#!/bin/sh
if [ $(pgrep polybar) ]
then
polybar i3bar >/dev/null
#~/.config/polybar/launch.sh
else
killall -q polybar
pkill polybar
fi