added american timezone icon
This commit is contained in:
parent
3a76fd59df
commit
b2796241d7
3 changed files with 36 additions and 33 deletions
23
eww/eww.yuck
23
eww/eww.yuck
|
@ -186,7 +186,9 @@
|
||||||
:halign "end"
|
:halign "end"
|
||||||
:valign "center"
|
:valign "center"
|
||||||
:height 30
|
:height 30
|
||||||
(testtime)))
|
(space)
|
||||||
|
(testtime)
|
||||||
|
(space)))
|
||||||
|
|
||||||
(defwidget mediaBox []
|
(defwidget mediaBox []
|
||||||
(box
|
(box
|
||||||
|
@ -262,12 +264,19 @@
|
||||||
:height 30
|
:height 30
|
||||||
:valign "center"
|
:valign "center"
|
||||||
:halign "end"
|
:halign "end"
|
||||||
(testtime
|
(box
|
||||||
:name "US East"
|
:class "barbox"
|
||||||
:timezone "EST")
|
:space-evenly false
|
||||||
(testtime
|
:spacing 2
|
||||||
:timezone "Asia/Seoul"
|
(space)
|
||||||
:image "../images/SamGuk-by_Sang_Min.png")
|
(testtime
|
||||||
|
:timezone "US/Eastern"
|
||||||
|
:image "../images/USTime.png")
|
||||||
|
(seperator)
|
||||||
|
(testtime
|
||||||
|
:timezone "Asia/Seoul"
|
||||||
|
:image "../images/SamGuk-by_Sang_Min.png")
|
||||||
|
(space))
|
||||||
(box
|
(box
|
||||||
:class "barbox"
|
:class "barbox"
|
||||||
:spacing 2
|
:spacing 2
|
||||||
|
|
|
@ -89,32 +89,26 @@
|
||||||
|
|
||||||
(defwidget testtime [?name ?icon ?timezone ?image]
|
(defwidget testtime [?name ?icon ?timezone ?image]
|
||||||
(box
|
(box
|
||||||
:class "barbox"
|
:onclick ``
|
||||||
|
:class "smallBox"
|
||||||
|
:spacing 1
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:spacing 3
|
:valign "center"
|
||||||
|
:height 20
|
||||||
(space)
|
(space)
|
||||||
(box
|
(eventbox
|
||||||
:onclick ``
|
(box
|
||||||
:class "smallBox"
|
:spacing 3
|
||||||
:spacing 1
|
:space-evenly false
|
||||||
:space-evenly false
|
:valign "center"
|
||||||
:valign "center"
|
:height 20
|
||||||
:height 20
|
(imageDPI
|
||||||
(space)
|
:image image
|
||||||
(eventbox
|
:size 16
|
||||||
(box
|
:visible {image != "" ? true : false})
|
||||||
:spacing 3
|
(label
|
||||||
:space-evenly false
|
:truncate {name != "" ? true : false }
|
||||||
:valign "center"
|
:truncate-left {name != "" ? true : false }
|
||||||
:height 20
|
:text {timezone != "" ? "${name} ${formattime(EWW_TIME, "%H:%M", timezone)}" : "${formattime(EWW_TIME, "%H:%M:%S")}"}
|
||||||
(imageDPI
|
:tooltip {timezone != "" ? "${formattime(EWW_TIME, "%A %d.%m.%G", timezone)}" : "${formattime(EWW_TIME, "%A %d.%m.%G")}"})))
|
||||||
:image image
|
|
||||||
:size 16
|
|
||||||
:visible {image != "" ? true : false})
|
|
||||||
(label
|
|
||||||
:truncate {name != "" ? true : false }
|
|
||||||
: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)))
|
(space)))
|
||||||
|
|
BIN
images/USTime.png
Normal file
BIN
images/USTime.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
Loading…
Add table
Reference in a new issue