added american timezone icon

This commit is contained in:
willifan 2024-06-21 14:41:54 +02:00
parent 3a76fd59df
commit b2796241d7
3 changed files with 36 additions and 33 deletions

View file

@ -186,7 +186,9 @@
:halign "end"
:valign "center"
:height 30
(testtime)))
(space)
(testtime)
(space)))
(defwidget mediaBox []
(box
@ -262,12 +264,19 @@
:height 30
:valign "center"
:halign "end"
(box
:class "barbox"
:space-evenly false
:spacing 2
(space)
(testtime
:name "US East"
:timezone "EST")
:timezone "US/Eastern"
:image "../images/USTime.png")
(seperator)
(testtime
:timezone "Asia/Seoul"
:image "../images/SamGuk-by_Sang_Min.png")
(space))
(box
:class "barbox"
:spacing 2

View file

@ -88,11 +88,6 @@
)))
(defwidget testtime [?name ?icon ?timezone ?image]
(box
:class "barbox"
:space-evenly false
:spacing 3
(space)
(box
:onclick ``
:class "smallBox"
@ -116,5 +111,4 @@
:truncate-left {name != "" ? true : false }
:text {timezone != "" ? "${name} ${formattime(EWW_TIME, "%H:%M", timezone)}" : "${formattime(EWW_TIME, "%H:%M:%S")}"}
:tooltip {timezone != "" ? "${formattime(EWW_TIME, "%A %d.%m.%G", timezone)}" : "${formattime(EWW_TIME, "%A %d.%m.%G")}"})))
(space))
(space)))

BIN
images/USTime.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB