aboutsummaryrefslogtreecommitdiff
path: root/waybar/config
diff options
context:
space:
mode:
Diffstat (limited to 'waybar/config')
-rw-r--r--waybar/config9
1 files changed, 5 insertions, 4 deletions
diff --git a/waybar/config b/waybar/config
index b411e25..cbc6872 100644
--- a/waybar/config
+++ b/waybar/config
@@ -1,7 +1,7 @@
{
"layer": "top",
"modules-left": ["river/tags", "network#eth0", "network#wlan0"],
- "modules-right": ["tray", "cpu", "memory", "wireplumber", "battery", "backlight", "clock"],
+ "modules-right": ["tray", "cpu", "memory", "wireplumber", "battery", "backlight", "custom/clock"],
"network#eth0": {
"format-disconnected": "",
"format-linked": "{icon} ⇅",
@@ -65,8 +65,9 @@
"format-icons": ["💡"],
"scroll-step": 5
},
- "clock": {
- "format": "{:%Y-%m-%d %H:%M:%S}",
- "interval": 1
+ "custom/clock": {
+ "format": "{}",
+ "interval": 1,
+ "exec": "date +'%Y-%m-%d %H:%M:%S'"
}
}