diff options
Diffstat (limited to 'modules/rtc-wakeup.nix')
-rw-r--r-- | modules/rtc-wakeup.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rtc-wakeup.nix b/modules/rtc-wakeup.nix index 9477838..28c6439 100644 --- a/modules/rtc-wakeup.nix +++ b/modules/rtc-wakeup.nix @@ -22,7 +22,7 @@ in { cat /proc/driver/rtc fi - if [[ $(date +%w) == "4" ]]; then + if [[ $(date +%w) -ge "5" ]]; then WAKEUP_TIME='monday ${cfg.weekdayWakeupTime}' else WAKEUP_TIME='tomorrow ${cfg.weekdayWakeupTime}' |