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

if [ -n "$(pgrep -x waybar)" ]; then
  pkill waybar
else
  launch_waybar.sh "$(crcparse WC)"
fi