From fd144648a9247744a82e10adbe6f3acadc78cb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sun, 7 Jan 2024 14:56:12 +0100 Subject: [PATCH] Add date to waybar --- waybar/config | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/waybar/config b/waybar/config index 3faa6a3..d0dce99 100644 --- a/waybar/config +++ b/waybar/config @@ -2,14 +2,15 @@ "layer": "top", // Waybar at top layer "height": 30, // Waybar height (to be removed for auto height) "spacing": 4, // Gaps between modules (4px) - "output": "eDP-1", + "output": "DP-1", "modules-left": ["wlr/taskbar"], "modules-center": ["hyprland/workspaces"], - "modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock"], + "modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock#clock2", "clock"], "wlr/taskbar": { "on-click": "activate", "on-click-right": "close", - "format": "{icon} {title:.15}" + "format": "{icon} {title:.30}", + "all-outputs": true }, "wireplumber": { "format": "{icon} {volume}%", @@ -34,7 +35,12 @@ "timezone": "Europe/Brussels", "format": "{:%H:%M:%S}", "interval": 1, - "format-alt": "{:%Y-%m-%d %H:%M:%S}" + + }, + "clock#clock2": { + "timezone": "Europe/Brussels", + "format": "{:%Y-%m-%d}", + "interval": 3600, }, "cpu": {