mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-08 18:18:44 +00:00
15 lines
515 B
Plaintext
15 lines
515 B
Plaintext
(deflisten weather :initial "{'temp': 'n/a', 'desc': 'n/a'}" "./lib/weather.py")
|
|
|
|
(defwidget weather-tray-item []
|
|
(box :class "weather-tray-item"
|
|
:orientation "h"
|
|
:space-evenly false
|
|
(eventbox :cursor "pointer" :class "interactive weather" :onclick "xdg-open https://www.sinoptik.bg/sofia-bulgaria-100727011"
|
|
(box :space-evenly false
|
|
(label :class "weather-temp" :text "${weather.icon} ${weather.temp}")
|
|
(label :class "weather-desc" :text "${weather.desc}")
|
|
)
|
|
)
|
|
)
|
|
)
|