[vega] Sets up working system. [Eww] Moves config to be specific to drew-desktop
This commit is contained in:
31
system/hosts/drew-desktop/eww/config/clock.yuck
Normal file
31
system/hosts/drew-desktop/eww/config/clock.yuck
Normal file
@@ -0,0 +1,31 @@
|
||||
(defwidget clock-small []
|
||||
(box
|
||||
:orientation "h"
|
||||
:class "clock small"
|
||||
:space-evenly false
|
||||
(label
|
||||
:class "time"
|
||||
:text "${formattime(EWW_TIME, '%I:%M')}"
|
||||
)
|
||||
(label
|
||||
:class "date"
|
||||
:text "${formattime(EWW_TIME, '%a %b %d')}"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget clock-large []
|
||||
(box
|
||||
:orientation "v"
|
||||
:class "clock large"
|
||||
:space-evenly true
|
||||
(label
|
||||
:class "time"
|
||||
:text "${formattime(EWW_TIME, '%I:%M')}"
|
||||
)
|
||||
(label
|
||||
:class "date"
|
||||
:text "${formattime(EWW_TIME, '%a %b %d')}"
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user