diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-10 16:37:48 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-10 16:37:48 -0600 |
| commit | e6a6dbadaea0b6de4d9ea080885aed3214dbbef4 (patch) | |
| tree | 4cbfc081bdf4198c38bff51e7ae12f9818c921af /dotfiles/hyprland/.config/waybar/config | |
| parent | f0ce9ef3dd4c728bb80afc58fc7e5d28734b61ea (diff) | |
| download | archsetup-e6a6dbadaea0b6de4d9ea080885aed3214dbbef4.tar.gz archsetup-e6a6dbadaea0b6de4d9ea080885aed3214dbbef4.zip | |
feat(waybar): split clock into date + world clock modules
Replace single clock module with custom/date (calendar tooltip) and
custom/worldclock (multi-timezone tooltip from worldclock.conf).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/hyprland/.config/waybar/config')
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/config | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index 5582dc6..c8723d3 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -19,7 +19,8 @@ "pulseaudio", "idle_inhibitor", "tray", - "clock" + "custom/date", + "custom/worldclock" ], "group/sysmonitor": { @@ -116,14 +117,16 @@ "spacing": 4 }, - "clock": { - "format": "{:%a, %b %d %Y %I:%M %p %Z}", - "tooltip-format": "<small>{calendar}</small>", - "calendar": { - "format": { - "today": "<span color='#daa520'><b><u>{}</u></b></span>" - } - } + "custom/date": { + "exec": "waybar-date", + "return-type": "json", + "interval": 60 + }, + + "custom/worldclock": { + "exec": "waybar-worldclock", + "return-type": "json", + "interval": 30 }, "pulseaudio": { |
