Run the omarchy-update in a terminal process not owned by waybar so it'll survive being restarted

This commit is contained in:
David Heinemeier Hansson
2025-08-27 14:14:03 +02:00
parent 147242cbba
commit 90cdbd5504
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
cmd="$*"
setsid alacritty -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done"

View File

@@ -46,7 +46,7 @@
"custom/update": {
"format": "",
"exec": "omarchy-update-available",
"on-click": "alacritty --class Omarchy --title Omarchy -e omarchy-update",
"on-click": "omarchy-launch-terminal-with-presentation omarchy-update",
"tooltip-format": "Omarchy update available",
"interval": 3600
},