summaryrefslogtreecommitdiff
path: root/waytoggle
blob: 711aa8bedb9921bf5a99f1b6bd44324db1198e52 (plain)
1
2
3
4
5
6
7
#!/bin/sh

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