From 07f846c29e2f54a1ada7258bbfd42ae2579f500a Mon Sep 17 00:00:00 2001
From: Viyurz <128215328+Viyurz@users.noreply.github.com>
Date: Thu, 15 Feb 2024 15:51:54 +0100
Subject: [PATCH] Waybar pkg updates: recheck for updates every hour.
---
.config/waybar/config | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/.config/waybar/config b/.config/waybar/config
index b7914b5..d19eed1 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -22,8 +22,7 @@
"memory",
"custom/cpu-temp",
"cpu",
- "clock#date",
- "clock#time"
+ "clock"
],
"hyprland/workspaces": {
"disable-scroll": true,
@@ -37,7 +36,7 @@
},
"custom/pkg-update-count": {
"exec": "$HOME/.scripts/waybar-pkg-update-count.sh",
- "interval": "once",
+ "interval": 3600,
"on-click": "$HOME/.scripts/waybar-pkg-update-count.sh",
"signal": 3,
"return-type": "json",
@@ -213,9 +212,9 @@
"format": " {usage}%",
"interval": 5
},
- "clock#date": {
+ "clock": {
"interval": 1,
- "format": " {:%Ex}",
+ "format": " {:%e %b %Y - %EX}",
"tooltip-format": "{calendar}",
"calendar": {
"mode": "month",
@@ -226,10 +225,5 @@
"today": "{}"
}
}
- },
- "clock#time": {
- "interval": 1,
- "format": " {:%EX}",
- "tooltip": false
}
}