eww: add new features and fix issues

This commit is contained in:
retrozinndev
2024-12-07 16:43:37 -03:00
parent adf8b7d9ba
commit e9258d04e4
26 changed files with 882 additions and 207 deletions
+7 -41
View File
@@ -1,54 +1,20 @@
; Windows
(include "./windows/calendar.yuck")
(include "./windows/control-center.yuck")
(include "./windows/bar.yuck")
(include "./windows/powermenu.yuck")
(include "./windows/audio-popup.yuck")
; Widgets
; Bar widgets
(include "./widgets/bar/workspaces.yuck")
(include "./widgets/bar/clock.yuck")
(include "./widgets/bar/notifications.yuck")
(include "./widgets/bar/control-center.yuck")
(include "./widgets/bar/audio.yuck")
(include "./widgets/bar/media.yuck")
(include "./widgets/bar/logo.yuck")
(include "./widgets/bar/window.yuck")
(include "./widgets/bar/network.yuck")
(include "./widgets/bar/battery.yuck")
(defwindow bar
:monitor 0
:geometry (geometry :width "100%"
:height "44px"
:anchor "top center")
:stacking "fg"
:exclusive true
:namespace "eww-bar"
(centerbox :orientation "h"
(box :class "widgets-left"
:halign "start"
:space-evenly false
(logo)
(workspaces)
)
(box :class "widgets-center"
:halign "center"
:space-evenly false
(clock)
(window)
(media)
)
(box :class "widgets-right"
:halign "end"
:space-evenly false
(systray :spacing 5
:orientation "h"
:space-evenly false
:icon-size 14
:prepend-new true
:class "systray"
)
; (audio)
(network)
(notifications)
)
)
)
; Control Center widgets