diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-20 23:34:27 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-20 23:34:27 +1100 |
| commit | f70735078ffe6473100fc913c0f2415c6492320b (patch) | |
| tree | 372cb92ebc4de37b362a8fd8eb54df272af1db7e /src/modules/bar.tsx | |
| parent | bar: better battery indicator (diff) | |
| download | caelestia-shell-f70735078ffe6473100fc913c0f2415c6492320b.tar.gz caelestia-shell-f70735078ffe6473100fc913c0f2415c6492320b.tar.bz2 caelestia-shell-f70735078ffe6473100fc913c0f2415c6492320b.zip | |
bar: datetime tooltip
Diffstat (limited to 'src/modules/bar.tsx')
| -rw-r--r-- | src/modules/bar.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx index 6ff81fd..356bff7 100644 --- a/src/modules/bar.tsx +++ b/src/modules/bar.tsx @@ -484,10 +484,11 @@ const Battery = () => { const DateTime = () => ( <button onClick={(self, event) => event.button === Astal.MouseButton.PRIMARY && togglePopup(self, event, "sideright")} + setup={self => setupCustomTooltip(self, bindCurrentTime(config.dateTime.detailed))} > <box className="module date-time"> <label className="icon" label="calendar_month" /> - <label label={bindCurrentTime(config.dateTimeFormat)} /> + <label label={bindCurrentTime(config.dateTime.format)} /> </box> </button> ); @@ -495,7 +496,7 @@ const DateTime = () => ( const DateTimeVertical = () => ( <button onClick={(self, event) => event.button === Astal.MouseButton.PRIMARY && togglePopup(self, event, "sideright")} - setup={self => setupCustomTooltip(self, bindCurrentTime(config.dateTimeFormat))} + setup={self => setupCustomTooltip(self, bindCurrentTime(config.dateTime.detailed))} > <box vertical className="module date-time"> <label className="icon" label="calendar_month" /> |