summaryrefslogtreecommitdiff
path: root/waytoggle
blob: 8da651dc5b0b3b6feea4d791980cb9fdc0bfbbf9 (plain)
1
2
3
4
5
6
7
#!/sbin/sh

if [ -n "$(pgrep -x waybar)" ]; then
  pkill waybar
else
  waybar &
fi