changes to hyprland and eww

This commit is contained in:
KoenDR06 2025-03-17 16:36:56 +01:00
parent 1638ad4031
commit 74ba9d43a7
4 changed files with 52 additions and 104 deletions

View file

@ -1,35 +1,14 @@
(defwindow main
:monitor 0
:geometry (geometry :x "0%"
:y "0%"
:width "50%"
:height "50%"
:anchor "center")
:stacking "fg"
:exclusive false
:focusable false
(topbar)
)
(defwidget topbar []
(box :class "topbar"
(clock)
(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" "◇")
)
:monitor 0
:geometry (geometry
:x "0%"
:y "0%"
:width "50%"
:height "50%"
:anchor "center")
:stacking "fg"
:exclusive false
:focusable false
(box {workspace})
)