✨ feat(widgets): finally added calendar and started developing control center
This commit is contained in:
+13
-15
@@ -1,22 +1,20 @@
|
||||
(defwindow calendar
|
||||
(defwindow calendar-window
|
||||
:monitor 0
|
||||
:geometry (geometry :width 300
|
||||
:height 250
|
||||
:anchor "top center"
|
||||
)
|
||||
:geometry (geometry :anchor "top center")
|
||||
:stacking "fg"
|
||||
:exclusive false
|
||||
:namespace "eww-calendar"
|
||||
(box
|
||||
(cal)
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget cal []
|
||||
(box :class "widget-calendar"
|
||||
(box :class "month-calendar"
|
||||
(button :class "day"
|
||||
1)
|
||||
)
|
||||
(box :class "calendar-box"
|
||||
:space-evenly false
|
||||
:orientation "vertical"
|
||||
|
||||
(label :class "calendar-header"
|
||||
:text "Calendar")
|
||||
(calendar :class "month-calendar"
|
||||
:show-details true
|
||||
:show-heading true
|
||||
:show-day-names true
|
||||
:show-week-numbers false)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user