@@ -2,7 +2,7 @@
"layer": "top", // Waybar at top layer
"spacing": 5,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
- "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "battery", {{ if eq .chezmoi.hostname "angmar" }}"clock#date", {{ end }}"clock#all", "custom/beats", "tray"],
+ "modules-right": ["idle_inhibitor", "custom/pending-updates", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "battery", {{ if eq .chezmoi.hostname "angmar" }}"clock#date", {{ end }}"clock#all", "custom/beats", "tray"],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
@@ -11,6 +11,13 @@
"hyprland/window": {
"format": " {}"
},
+ "custom/pending-updates": {
+ "format": "{} ",
+ "tooltip": false,
+ "exec-if": "/usr/bin/carpd",
+ "exec": "/usr/bin/carpd",
+ "restart-interval": 3600,
+ },
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
@@ -58,11 +65,12 @@
},
},
"custom/beats": {
- "exec-if": "/usr/bin/swatchtime",
- "exec": "echo \"@`swatchtime -f {Beat}`\"",
+ "format": "{} ",
+ "tooltip": false,
+ "exec-if": "/home/amolith/.local/bin/beats",
+ "exec": "/home/amolith/.local/bin/beats",
"return-type": "",
- "interval": 0.5,
- "format": "{} "
+ "restart-interval": 1,
},
"cpu": {
"format": "{usage}% ",
@@ -58,6 +58,7 @@ button {
#battery,
#cpu,
#custom-beats,
+#custom-pending-updates,
#memory,
#disk,
#temperature,