diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-09-18 14:19:02 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-09-18 14:19:02 -0400 |
commit | 2582da78bf23ad51210627545bf8f03526dd50c1 (patch) | |
tree | d4633845d4e7c4d6b6f505e30262ef97c6187e0d /modules | |
parent | e7e266bc176498d8e7d4c9a8bff6982d0cf7fcf7 (diff) |
update
Diffstat (limited to 'modules')
-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}' |