Adds little icon for current hour
This commit is contained in:
parent
a459185bb8
commit
1ec52c1412
3 changed files with 43 additions and 16 deletions
|
|
@ -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 ""
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue