feat: add moonarch-update wrapper for interactive system updates

Wraps paru in a script that waits for keypress after completion,
preventing foot from closing immediately. Used as Waybar on-click
action for the updates module.
This commit is contained in:
nevaforget committed 2026-04-09 11:34:11 +02:00
1 parent 71783988f0
commit f3c74d8905
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/bash
# ABOUTME: Interactive system update wrapper for use as Waybar on-click action.
# ABOUTME: Runs paru and waits for keypress before closing the terminal.
paru
echo
read -n 1 -s -r -p "Press any key to close..."
+1 -1
View File
@@ -207,7 +207,7 @@
}, },
"exec": "moonarch-waybar-updates", "exec": "moonarch-waybar-updates",
"interval": 60, "interval": 60,
"on-click": "foot paru" "on-click": "foot moonarch-update"
}, },
"custom/notification": { "custom/notification": {
"tooltip": true, "tooltip": true,