style(eww): Initial design
This commit is contained in:
parent
c6c0e33970
commit
6f57c1a670
2 changed files with 89 additions and 41 deletions
|
@ -29,7 +29,8 @@
|
|||
(workspaces))
|
||||
|
||||
(defwidget middle []
|
||||
(clock))
|
||||
(box :class "middle"
|
||||
(clock)))
|
||||
|
||||
(defwidget end []
|
||||
(box :halign "end"
|
||||
|
@ -46,7 +47,7 @@
|
|||
id))))
|
||||
|
||||
(defwidget clock []
|
||||
(eventbox :onclick `eww update dtfull=${!dtfull}`
|
||||
(eventbox :class "clock" :onclick `eww update dtfull=${!dtfull}`
|
||||
(label :text {dtfull ? datetime.full : datetime.date})))
|
||||
|
||||
(defwidget pair [icon text]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue