Files
colorshell/eww/widgets/bar/clock.yuck
T
2024-12-19 22:06:54 -03:00

9 lines
299 B
Plaintext

(defwidget clock []
(box :class "clock"
:tooltip "${day-name}, ${month-name} ${day}"
(button :onclick "sh scripts/eww-window.sh toggle calendar-window"
:class "${window_state_calendar-window == 'open' ? 'cal-open' : ''}"
"${day-name} ${day}, ${time}")
)
)