mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Pull noidle setting out into its own step
This commit is contained in:
@@ -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
|
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
|
if omarchy-update-confirm; then
|
||||||
|
omarchy-update-without-idle
|
||||||
omarchy-snapshot create || [ $? -eq 127 ]
|
omarchy-snapshot create || [ $? -eq 127 ]
|
||||||
omarchy-update-git
|
omarchy-update-git
|
||||||
omarchy-update-perform
|
omarchy-update-perform
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
hyprctl dispatch tagwindow +noidle
|
|
||||||
|
|
||||||
gum style --border normal --border-foreground 6 --padding "1 2" \
|
gum style --border normal --border-foreground 6 --padding "1 2" \
|
||||||
"Ready to update?" \
|
"Ready to update?" \
|
||||||
|
|||||||
4
bin/omarchy-update-without-idle
Executable file
4
bin/omarchy-update-without-idle
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Ensure screensaver/sleep doesn't set in during updates
|
||||||
|
hyprctl dispatch tagwindow +noidle &> /dev/null
|
||||||
Reference in New Issue
Block a user