Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #sudo apt-get install wmctrl
- var="/tmp/switch"
- if [ -a "$var" ]
- then
- wmctrl -k off && rm /tmp/switch
- else
- wmctrl -k on && touch /tmp/switch
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement