Fix using wrong variable

dev
Ruakij 2 years ago
parent 5201a35272
commit a8f6998e3c

@ -6,7 +6,7 @@ case "$1" in
"locked") "locked")
# Read timeout from KDE # Read timeout from KDE
SCREENSAVER_TIMEOUT=$(kreadconfig5 --file powermanagementprofilesrc --group AC --group DPMSControl --key idleTime_screenSaver) SCREENSAVER_TIMEOUT=$(kreadconfig5 --file powermanagementprofilesrc --group AC --group DPMSControl --key idleTime_screenSaver)
TIMEOUT="${NORMAL_TIMEOUT:-$SCREENSAVER_TIMEOUT_DEFAULT}" TIMEOUT="${SCREENSAVER_TIMEOUT:-$SCREENSAVER_TIMEOUT_DEFAULT}"
;; ;;
"unlocked") "unlocked")

Loading…
Cancel
Save