mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Run the omarchy-update in a terminal process not owned by waybar so it'll survive being restarted
This commit is contained in:
4
bin/omarchy-launch-terminal-with-presentation
Executable file
4
bin/omarchy-launch-terminal-with-presentation
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cmd="$*"
|
||||||
|
setsid alacritty -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done"
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
"custom/update": {
|
"custom/update": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"exec": "omarchy-update-available",
|
"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",
|
"tooltip-format": "Omarchy update available",
|
||||||
"interval": 3600
|
"interval": 3600
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user