Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Activity Logger
$ pacman -S xprintidle xdotool iw
$ while true; do idle=`xprintidle`; print `date` ' | ' 'Idle:' "$((idle/1000))s" ' | ' `xdotool getactivewindow getwindowname`; sleep 10; done
$ iw dev wlp2s0 info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment