dot_config/waybar/config.tmpl 🔗
@@ -14,8 +14,7 @@
"custom/pending-updates": {
"format": "{} ",
"tooltip": false,
- "exec-if": "/usr/bin/carpd",
- "exec": "/usr/bin/carpd",
+ "exec": "echo $(( $(checkupdates | wc -l) + $(yay -Qu | wc -l) ))",
"restart-interval": 3600,
},
"idle_inhibitor": {