More hyprland and eww config

This commit is contained in:
KoenDR06 2025-03-09 18:16:59 +01:00
parent 22f029cf3e
commit 53a85240f2
4 changed files with 36 additions and 15 deletions

View file

@ -1,12 +1,33 @@
(defwindow example
(defwindow main
:monitor 0
:geometry (geometry :x "0%"
:y "20px"
:width "90%"
:height "30px"
:anchor "top center")
:y "0%"
:width "50%"
:height "50%"
:anchor "center")
:stacking "fg"
:reserve (struts :distance "40px" :side "top")
:windowtype "dock"
:exclusive true
"horseman's laptop")
:exclusive false
:focusable false
(workspaces)
)
(defwidget clock []
(box :class "clock"
{formattime(EWW_TIME, "%b %m %H:%M:%S")}
)
)
(defwidget workspaces []
(box :class "workspaces"
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
(button :class "workspace-button")
)
)