mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Fix omarchy-update failing outside Hyprland session (#4002)
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Ensure screensaver/sleep doesn't set in during updates
|
# 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
|
# Perform all update steps
|
||||||
omarchy-update-time
|
omarchy-update-time
|
||||||
@@ -15,4 +15,4 @@ omarchy-hook post-update
|
|||||||
omarchy-update-restart
|
omarchy-update-restart
|
||||||
|
|
||||||
# Re-enable screensaver/sleep after updates
|
# Re-enable screensaver/sleep after updates
|
||||||
hyprctl dispatch tagwindow -- -noidle &> /dev/null
|
hyprctl dispatch tagwindow -- -noidle &> /dev/null || true
|
||||||
|
|||||||
Reference in New Issue
Block a user