Created
August 31, 2019 05:28
-
-
Save gryf/489c0236be1006c9f299448f85774715 to your computer and use it in GitHub Desktop.
do actions before and after suspending
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xlock & | |
sudo /usr/sbin/pm-suspend | |
# get back keyboard and other settings after resume | |
#sudo /usr/local/bin/usb_power.sh | |
~/bin/setxinput.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment