Created
June 25, 2009 02:56
-
-
Save ssokolow/135655 to your computer and use it in GitHub Desktop.
xkill-style screensaver-disabling which won't leave it disabled by accident
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/sh | |
# A simple little script which prompts you to click a window and then disables | |
# the screensaver until it goes away. | |
WID=`xwininfo -int | awk '/Window id/ {print $4}'` | |
xdg-screensaver suspend "$WID" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment