Pull noidle setting out into its own step

This commit is contained in:
David Heinemeier Hansson
2025-12-15 09:55:09 -08:00
parent 92af9f41f2
commit 1f4c50eddf
3 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ set -e
trap 'echo ""; echo -e "\033[0;31mSomething went wrong during the update!\n\nPlease review the output above carefully, correct the error, and retry the update.\n\nIf you need assistance, get help from the community at https://omarchy.org/discord\033[0m"' ERR
if omarchy-update-confirm; then
omarchy-update-without-idle
omarchy-snapshot create || [ $? -eq 127 ]
omarchy-update-git
omarchy-update-perform

View File

@@ -1,5 +1,4 @@
#!/bin/bash
hyprctl dispatch tagwindow +noidle
gum style --border normal --border-foreground 6 --padding "1 2" \
"Ready to update?" \

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Ensure screensaver/sleep doesn't set in during updates
hyprctl dispatch tagwindow +noidle &> /dev/null