diff options
author | David Phillips <david@sighup.nz> | 2017-04-20 17:04:59 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-04-20 17:04:59 +1200 |
commit | 13ee63ec2a631f517f30528422bc802c9085c820 (patch) | |
tree | 25576609ec6e5b70bcef0cfe9942bba40f746dd9 | |
parent | 31bbaf7117ad27533651dce154f71461879998ac (diff) | |
download | dotfiles-13ee63ec2a631f517f30528422bc802c9085c820.tar.xz |
Add quick doc to disable-fullscreen-lock
-rwxr-xr-x | local/bin/disable-fullscreen-lock | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/local/bin/disable-fullscreen-lock b/local/bin/disable-fullscreen-lock index 487e33b..b755ab2 100755 --- a/local/bin/disable-fullscreen-lock +++ b/local/bin/disable-fullscreen-lock @@ -1,5 +1,11 @@ #!/bin/sh +# Periodically checks if the active window is a full screen one and if so, +# uses xdotool to simulate a keypress and unsets+sets DPMS to attempt to +# stop a screen locker from locking the screen. +# My primary use case is for watching youtube videos in full screen without +# needing to wriggle the mouse periodically + DELAY=300 while true; do |