12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
-
- [be.def.spot.dock:undocked]
- enter = newfeh
- enter = i3-msg reload
- enter = weechat-fifo -s \*/disconnect -all || true
-
- [be.def.spot.dock:docked]
- enter = newfeh
- enter = i3-msg reload
- enter = weechat-fifo -s \*/connect -all || true
-
- [be.def.spot.role:afk]
- shape = bounce
- enter = if pidof clementine; then
- enter = qdbus org.mpris.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlaybackStatus \
- enter = | grep -qxF Playing \
- enter = && qdbus org.mpris.clementine /Player org.freedesktop.MediaPlayer.Pause
- enter = fi; true
- spike = bmo kb home && slock
-
- [be.def.spot.role:working]
- enter = :
-
- [be.def.spot.role:gone]
- shape = bounce
- enter = ssh-add -D 2>&1 && notify-send "all identities removed"
- enter = weechat-fifo -s \*/disconnect -all gone
- spike = bmo kb home && slock
- leave = weechat-fifo -s \*/connect -all
- leave = bmo nag -R
-
- [be.def.spot.role:zleeping]
- shape = bounce
- enter = pidof mocp && mocp --pause
- enter = pidof clementine && qdbus org.mpris.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlaybackStatus | grep -qxF Playing && qdbus org.mpris.clementine /Player org.freedesktop.MediaPlayer.Pause
- enter = ssh-add -D 2>&1 && notify-send "all identities removed"
- enter = weechat-fifo -s \*/disconnect -all offline
- spike = bmo kb home && slock systemctl suspend -i
- leave = weechat-fifo -s \*/connect -all
-
- [be.def.spot.role:presenting]
- important = true
- enter = :
-
- [be.def.spot.feel:night]
- enter = light -S 8; redshift -O 1000
-
- [be.def.spot.feel:twilight]
- enter = light -S 50; redshift -O 1500
-
- [be.def.spot.feel:day]
- enter = light -S 100; redshift -x
|