feat: add moonarch-update wrapper for interactive system updates
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 2s
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 2s
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:
parent
8ddbb23851
commit
b6beabe500
7
defaults/bin/moonarch-update
Executable file
7
defaults/bin/moonarch-update
Executable 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..."
|
||||
@ -207,7 +207,7 @@
|
||||
},
|
||||
"exec": "moonarch-waybar-updates",
|
||||
"interval": 60,
|
||||
"on-click": "foot paru"
|
||||
"on-click": "foot moonarch-update"
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user