[hook.au] post = killall -SIGUSR1 i3status [hook.kb] post = killall -SIGUSR1 i3status [hook.iam] zleep = ssh-add -D && notify-send -a "saturnin:hook.iam.zleep" "ssh identities removed" zleep = sleep 3 [hook.iam] log_afk = echo "$(date -Iseconds) | afk one time" >> ~/.bmo-iam.log log_atk = echo "$(date -Iseconds) | apparently knowing my password" >> ~/.bmo-iam.log log_gone = echo "$(date -Iseconds) | gone one time" >> ~/.bmo-iam.log log_back = echo "$(date -Iseconds) | back again" >> ~/.bmo-iam.log log_zleeping = echo "$(date -Iseconds) | falling azleep" >> ~/.bmo-iam.log say_afk = weechat-fifo -s irc.server.rhat \*/away afk say_atk = weechat-fifo -s irc.server.rhat \*/away say_gone = weechat-fifo -s \*/disconnect -all gone say_back = weechat-fifo -s \*/connect -all say_zleeping = weechat-fifo -s \*/disconnect -all offline afk = pidof mocp && mocp --pause afk = 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 back = bmo nag -R