summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/blanktimer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/blanktimer.cpp b/gui/blanktimer.cpp
index 0b1f0083c..a513ff057 100644
--- a/gui/blanktimer.cpp
+++ b/gui/blanktimer.cpp
@@ -98,6 +98,7 @@ int blanktimer::setClockTimer(void) {
setConBlank(2);
setBrightness(0);
screenoff = true;
+ TWFunc::check_and_run_script("/sbin/postscreenblank.sh", "blank");
PageManager::ChangeOverlay("lock");
}
#ifndef TW_NO_SCREEN_BLANK
@@ -149,6 +150,7 @@ void blanktimer::resetTimerAndUnblank(void) {
break;
}
#endif
+ TWFunc::check_and_run_script("/sbin/postscreenunblank.sh", "unblank");
// No break here, we want to keep going
case 2:
gui_forceRender();