aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/waybar/config.jsonc')
-rw-r--r--dot_config/waybar/config.jsonc36
1 files changed, 36 insertions, 0 deletions
diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc
index a6614f9..12d1255 100644
--- a/dot_config/waybar/config.jsonc
+++ b/dot_config/waybar/config.jsonc
@@ -21,6 +21,10 @@
"idle_inhibitor",
"custom/notifications",
"custom/update",
+ "custom/pacdiff",
+ "custom/arch-audit",
+ "custom/failed-units",
+ "custom/lostfiles",
"custom/thunderbird",
"clock",
"tray",
@@ -219,6 +223,38 @@
"tooltip": true,
},
+ "custom/pacdiff": {
+ "exec": "~/.config/waybar/pacdiff-status.sh",
+ "return-type": "json",
+ "interval": 300,
+ "on-click": "ghostty --class=floating -e sh -c 'sudo DIFFPROG=\"nvim -d\" pacdiff; printf \"\\n[done — press enter] \"; read _'",
+ "tooltip": true,
+ },
+
+ "custom/failed-units": {
+ "exec": "~/.config/waybar/failed-units-status.sh",
+ "return-type": "json",
+ "interval": 30,
+ "on-click": "ghostty --class=floating -e sh -c 'echo \"=== system ===\"; systemctl --failed; echo; echo \"=== user ===\"; systemctl --user --failed; printf \"\\n[done — press enter] \"; read _'",
+ "tooltip": true,
+ },
+
+ "custom/arch-audit": {
+ "exec": "~/.config/waybar/arch-audit-status.sh",
+ "return-type": "json",
+ "interval": 300,
+ "on-click": "ghostty --class=floating -e nvim -R /run/arch-audit.txt",
+ "tooltip": true,
+ },
+
+ "custom/lostfiles": {
+ "exec": "~/.config/waybar/lostfiles-status.sh",
+ "return-type": "json",
+ "interval": 600,
+ "on-click": "ghostty --class=floating -e nvim -R /run/lostfiles.txt",
+ "tooltip": true,
+ },
+
"custom/thunderbird": {
"exec": "~/.config/waybar/tb-unread.sh",
"return-type": "json",