Improve waybar and custom scripts

This commit is contained in:
2025-10-13 20:23:43 +02:00
parent e1d128f28a
commit 18cc8751c9
14 changed files with 183 additions and 104 deletions

View File

@@ -7,12 +7,13 @@
"memory",
"disk",
"network",
"pulseaudio",
"pulseaudio"
],
"modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"custom/alert",
"custom/maj",
"clock",
"tray"
@@ -78,11 +79,20 @@
},
"format": "{name}",
"format-icons": {
"default": "",
},
"default": ""
}
},
"custom/alert": {
"exec": "/etc/xdg/scripts/waybar-mailbox.sh",
"interval": 300,
"return-type": "json",
"format": "{icon}{text}",
"format-icons": {
"default": "  "
}
},
"custom/maj": {
"exec": "/etc/xdg/scripts/update.sh",
"exec": "/etc/xdg/scripts/waybar-update.sh",
"interval": 300,
"return-type": "json",
"format": "{icon}{text}",