Force color output even as we're capturing the update log
This commit is contained in:
1 parent
82e779fc5f
commit
eb7457d227
1 file changed
+2
-1
@@ -5,7 +5,8 @@ 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 || true
|
hyprctl dispatch tagwindow +noidle &> /dev/null || true
|
||||||
|
|
||||||
# Capture update logs
|
# Capture update logs (CLICOLOR_FORCE keeps gum styled when stdout is piped through tee)
|
||||||
|
export CLICOLOR_FORCE=1
|
||||||
exec > >(tee "/tmp/omarchy-update.log") 2>&1
|
exec > >(tee "/tmp/omarchy-update.log") 2>&1
|
||||||
|
|
||||||
# Perform all update steps
|
# Perform all update steps
|
||||||
|
|||||||
Reference in new issue
Block a user