summarylogtreecommitdiffstats
path: root/Xsetup
diff options
context:
space:
mode:
authorCyrIng2015-12-04 04:14:56 +0100
committerCyrIng2015-12-04 04:14:56 +0100
commita512b7a11aa6beccf5b3295aa2e8b771f5c10589 (patch)
tree2bef0fcbb7e2dc7b79f07b84c180efa551092cd2 /Xsetup
parent038f4d80855ee59bb23915258d1927e1053e9364 (diff)
downloadaur-a512b7a11aa6beccf5b3295aa2e8b771f5c10589.tar.gz
Screensaver buttons.
Diffstat (limited to 'Xsetup')
-rwxr-xr-xXsetup6
1 files changed, 6 insertions, 0 deletions
diff --git a/Xsetup b/Xsetup
index 62d2f5055bb1..b04e2d6c5bfb 100755
--- a/Xsetup
+++ b/Xsetup
@@ -34,6 +34,12 @@ if [[ -v XDM_XFREQ_BUTTONS_PATH ]]; then
$XDM_XFREQ_SCREENSHOT_PATH $XDM_XFREQ_SCREENSHOT_ARGS &
fi
;;
+ 20|21|22|23|24|25)
+ TIMEOUT=${XDM_XFREQ_SCREENSAVER[$(( $RC - 20 ))]}
+ if [[ -v XDM_XFREQ_SCREEN_SET_PATH ]]; then
+ $XDM_XFREQ_SCREEN_SET_PATH $XDM_XFREQ_SCREEN_SET_ARGS $TIMEOUT $TIMEOUT $TIMEOUT
+ fi
+ ;;
*)
if (( $RC > 128 )); then
LOOP=0