Adds little icon for current hour

This commit is contained in:
Michel Fedde 2025-11-11 20:40:43 +01:00
parent a459185bb8
commit 1ec52c1412
3 changed files with 43 additions and 16 deletions

View file

@ -3,6 +3,26 @@
(defwidget bar-time []
(box
:class "widget default-padding"
:space-evenly false
:spacing 10
{bar-time-display}
"|"
(label
:visible {hour-time <= 6 || hour-time > 22}
:text ""
)
(label
:visible {hour-time > 6 && hour-time <= 10}
:text ""
)
(label
:visible {hour-time > 10 && hour-time <= 18}
:text ""
)
(label
:visible {hour-time > 18 && hour-time <= 22}
:text ""
)
)
)