From 1971190ca57f18d60309c51f025e7c56934afeae Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 13 Feb 2020 01:56:59 +0100 Subject: waybar: Move clock modules to center and make UTC timezone specifier small and add support for calendar tooltip (0.9.1) --- .config/waybar/config | 10 +++++----- .config/waybar/style.css | 3 --- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.config/waybar/config b/.config/waybar/config index 80331a5..a6dd28c 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -5,8 +5,8 @@ "height": 30, "modules-left": ["sway/mode", "sway/workspaces", "sway/window", "custom/media", "custom/toggl"], - // "modules-center": ["sway/window"], - "modules-right": ["cpu", "memory", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network#wg", "network", "battery", "clock#local", "clock#utc", "tray"], + "modules-center": ["clock#local", "clock#utc"], + "modules-right": ["cpu", "memory", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network#wg", "network", "battery", "tray"], "sway/workspaces": { "disable-scroll": true, "all-outputs": false, @@ -48,12 +48,12 @@ }, "clock#local": { "timezone": "Europe/Berlin", - "format": "{:%a %d %b %H:%M}", - "tooltip-format": "{:%Z %z}" + "format": "{:%a %d %b %H:%M}", + "tooltip-format": "{:%Z %z}\n\n{calendar}" }, "clock#utc": { "timezone": "UTC", - "format": "({:%Z %H:%M})", + "format": "({:%Z %H:%M})", "tooltip-format": "{:%Z %z}" }, "cpu": { diff --git a/.config/waybar/style.css b/.config/waybar/style.css index f832fd6..466921b 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -97,9 +97,6 @@ window#waybar.hidden { padding-right: 0; } #clock.utc { - margin: 0; - padding: 0; - padding-left: 0.3rem; color: @dimmed; } -- cgit 1.4.1