forked from Shinonome/dots-hyprland
46 lines
835 B
Plaintext
46 lines
835 B
Plaintext
(defwidget bgdecors []
|
|
(box
|
|
:space-evenly false
|
|
:spacing 5
|
|
:orientation "v"
|
|
(label
|
|
:xalign 0
|
|
:class "bg-decor-dow"
|
|
:text "${time.day}"
|
|
)
|
|
(label
|
|
:xalign 0
|
|
:class "bg-decor-date"
|
|
:text "${time.date}"
|
|
)
|
|
; I don't like focus being moved to this on reload
|
|
; (box
|
|
; :spacing 0
|
|
; :space-evenly false
|
|
; (input
|
|
; :class "bg-decor-input-left"
|
|
; :onaccept "firefox https://www.google.com/search?q={}"
|
|
; )
|
|
; (button
|
|
; :class "bg-decor-input-right"
|
|
; ""
|
|
; )
|
|
; )
|
|
)
|
|
)
|
|
|
|
(defwindow bg-decor
|
|
:focusable false
|
|
:stacking "bg"
|
|
:windowtype "normal"
|
|
:wm-ignore true
|
|
:geometry (geometry
|
|
:x 80
|
|
:y 0
|
|
:width "30%"
|
|
:height "25%"
|
|
:anchor "left center"
|
|
)
|
|
:monitor 0
|
|
(bgdecors)
|
|
) |