mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Show detailed battery notification on right-click on Waybar battery icon
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
echo "Show battery status notification on right-click of the waybar battery icon"
|
||||
|
||||
if ! grep -q 'omarchy-battery-status' ~/.config/waybar/config.jsonc; then
|
||||
sed -i '/"on-click": "omarchy-menu power",/a\ "on-click-right": "notify-send -u low \\"$(omarchy-battery-status)\\"",' ~/.config/waybar/config.jsonc
|
||||
omarchy-restart-waybar
|
||||
fi
|
||||
Reference in New Issue
Block a user