summaryrefslogtreecommitdiff
path: root/swayidletog
blob: 42510ace8b892b33591b8e4cf862205bbaeb8802 (plain)
1
2
3
4
5
6
7
8
9
#!/sbin/sh

SWIDLE=$(pidof swayidle)
if [ ! -z "$SWIDLE" ] ; then 
  killall swayidle
else
  swayidle &
fi
pkill -RTMIN+8 waybar