Fix omarchy-update failing outside Hyprland session (#4002)

This commit is contained in:
Jack Blakely
2025-12-28 11:46:44 -05:00
committed by GitHub
parent 2bc88ebf25
commit 083715c8c6

View File

@@ -3,7 +3,7 @@
set -e
# Ensure screensaver/sleep doesn't set in during updates
hyprctl dispatch tagwindow +noidle &> /dev/null
hyprctl dispatch tagwindow +noidle &> /dev/null || true
# Perform all update steps
omarchy-update-time
@@ -15,4 +15,4 @@ omarchy-hook post-update
omarchy-update-restart
# Re-enable screensaver/sleep after updates
hyprctl dispatch tagwindow -- -noidle &> /dev/null
hyprctl dispatch tagwindow -- -noidle &> /dev/null || true