Ensure that noidle is turned off after update is complete

Closees #3982
Co-authored-by: @sgruendel
This commit is contained in:
David Heinemeier Hansson
2025-12-24 19:25:18 +01:00
parent fd952c2323
commit e44e937284
3 changed files with 10 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
set -e
# Ensure screensaver/sleep doesn't set in during updates
hyprctl dispatch tagwindow +noidle &> /dev/null
# Perform all update steps
omarchy-update-time
omarchy-update-keyring
omarchy-update-available-reset
@@ -9,3 +13,6 @@ omarchy-update-system-pkgs
omarchy-migrate
omarchy-hook post-update
omarchy-update-restart
# Re-enable screensaver/sleep after updates
hyprctl dispatch tagwindow -- -noidle &> /dev/null