Fix using wrong variable

This commit is contained in:
Ruakij 2022-07-31 12:54:35 +02:00
parent 5201a35272
commit a8f6998e3c

View File

@ -6,7 +6,7 @@ case "$1" in
"locked")
# Read timeout from KDE
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")