added asia time zone icon by Sang Min
This commit is contained in:
parent
ac16c49d2e
commit
544718757c
3 changed files with 17 additions and 8 deletions
|
@ -266,8 +266,8 @@
|
||||||
:name "US East"
|
:name "US East"
|
||||||
:timezone "EST")
|
:timezone "EST")
|
||||||
(testtime
|
(testtime
|
||||||
:name "Asia"
|
:timezone "Asia/Seoul"
|
||||||
:timezone "Asia/Seoul")
|
:image "../images/SamGuk-by_Sang_Min.png")
|
||||||
(box
|
(box
|
||||||
:class "barbox"
|
:class "barbox"
|
||||||
:spacing 2
|
:spacing 2
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
:text "|"
|
:text "|"
|
||||||
)))
|
)))
|
||||||
|
|
||||||
(defwidget testtime [?name ?icon ?timezone]
|
(defwidget testtime [?name ?icon ?timezone ?image]
|
||||||
(box
|
(box
|
||||||
:class "barbox"
|
:class "barbox"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
|
@ -102,10 +102,19 @@
|
||||||
:height 20
|
:height 20
|
||||||
(space)
|
(space)
|
||||||
(eventbox
|
(eventbox
|
||||||
|
(box
|
||||||
|
:spacing 3
|
||||||
|
:space-evenly false
|
||||||
|
:valign "center"
|
||||||
|
:height 20
|
||||||
|
(imageDPI
|
||||||
|
:image image
|
||||||
|
:size 16
|
||||||
|
:visible {image != "" ? true : false})
|
||||||
(label
|
(label
|
||||||
:truncate {name != "" ? true : false }
|
:truncate {name != "" ? true : false }
|
||||||
:truncate-left {name != "" ? true : false }
|
:truncate-left {name != "" ? true : false }
|
||||||
:text {timezone != "" ? "${name} ${formattime(EWW_TIME, "%H:%M", timezone)}" : "${formattime(EWW_TIME, "%H:%M:%S")}"}
|
: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")}"}))
|
:tooltip {timezone != "" ? "${formattime(EWW_TIME, "%A %d.%m.%G", timezone)}" : "${formattime(EWW_TIME, "%A %d.%m.%G")}"})))
|
||||||
(space))
|
(space))
|
||||||
(space)))
|
(space)))
|
||||||
|
|
BIN
images/SamGuk-by_Sang_Min.png
Normal file
BIN
images/SamGuk-by_Sang_Min.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
Add table
Reference in a new issue