random script dump
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
511 B

#!/usr/bin/env zsh
function parse_actions
while read action _; do
case $action in
/usr/bin/setxkbmap us -option
/usr/bin/numlockx off
/usr/bin/notify-send DUNST_COMMAND_PAUSE
/usr/bin/notify-send DUNST_COMMAND_RESUME
/usr/bin/xscreensaver-command -watch | parse_actions