summaryrefslogtreecommitdiff
path: root/swayidletog
blob: 27d9db88300406c64aa29a7b95568962c8a6c515 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

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