diff options
| author | Robert Günzler <r@gnzler.io> | 2020-02-13 01:56:59 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-02-13 01:56:59 +0100 |
| commit | 1971190ca57f18d60309c51f025e7c56934afeae (patch) | |
| tree | 842462de47ede80e5c09dcbf997c821bd0a1c90d | |
| parent | 05011096d904058cd120e652fc0744fa501e4bd3 (diff) | |
waybar: Move clock modules to center
and make UTC timezone specifier small and add support for calendar tooltip (0.9.1)
| -rw-r--r-- | .config/waybar/config | 10 | ||||
| -rw-r--r-- | .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": "{:<i>%a</i> %d %b %H:%M}", - "tooltip-format": "{:%Z %z}" + "format": "{:<i>%a</i> %d %b <b>%H:%M</b>}", + "tooltip-format": "{:%Z %z}\n\n{calendar}" }, "clock#utc": { "timezone": "UTC", - "format": "({:%Z %H:%M})", + "format": "({:<small>%Z</small> %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; } |