diff --git a/sway/waybar.css b/sway/waybar.css
index 90441a5..ed0d522 100644
--- a/sway/waybar.css
+++ b/sway/waybar.css
@@ -37,6 +37,7 @@ window#waybar {
}
#clock,
+#custom-clock,
#battery,
#cpu,
#memory,
diff --git a/sway/waybar.json b/sway/waybar.json
index 52bdbd3..42122ee 100644
--- a/sway/waybar.json
+++ b/sway/waybar.json
@@ -4,13 +4,17 @@
"height": 24, // Waybar height (to be removed for auto height)
"modules-left": ["idle_inhibitor", "sway/workspaces"],
"modules-center": ["sway/window"],
- "modules-right": ["pulseaudio", "pulseaudio#mic", "network", "battery", "clock"],
+ "modules-right": ["pulseaudio", "pulseaudio#mic", "network", "battery", "custom/clock"],
"clock": {
"interval": 10,
"format": "{:%a %b %d %Y %H:%M}",
"timezone": "America/Los_Angeles",
"tooltip-format": "{:%B %Y}\n{calendar}"
},
+ "custom/clock": {
+ "exec": "date +'%a %b %d %Y %H:%M'",
+ "interval": 10
+ },
"battery": {
"states": {
"good": 95,