Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- if [ -z $@ ]; then
- echo "Smoke Lunch Walk Leave" | tr ' ' '\n'
- else
- OPT=$@
- TIME=`date`
- echo "${TIME} ${OPT}" > ~/leave-log
- DISPLAY=:0.0 sudo slock
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement