nixos/pkgs/eww-hyprland/eww.yuck

84 lines
1.6 KiB
Plaintext

; all variables and listeners
(include "./variables.yuck")
; various bar modules
(include "./modules/bluetooth.yuck")
(include "./modules/bright.yuck")
(include "./modules/clock.yuck")
(include "./modules/indicators.yuck")
(include "./modules/music.yuck")
(include "./modules/net.yuck")
(include "./modules/sys.yuck")
(include "./modules/volume.yuck")
(include "./modules/workspaces.yuck")
; individual windows; bar is in this file
(include "./windows/calendar.yuck")
(include "./windows/music.yuck")
(include "./windows/osd.yuck") ; on-screen-display (volume/brightness)
(include "./windows/system-menu.yuck")
; bar modules alignment
(defwidget left []
(box
:space-evenly false
:halign "start"
(workspaces)))
(defwidget center []
(box
:space-evenly false
:halign "center"
(music-module)))
(defwidget right []
(box
:space-evenly false
:halign "end"
(indicators)
(bright)
(volume-module)
(bluetooth)
(net)
(sys)
(clock_module)))
(defwidget bar-box []
(centerbox
(left)
(center)
(right)))
(defwindow bar0
:monitor 0
:geometry (geometry :x "0%"
:y "0%"
:width "100%"
:height "32px"
:anchor "top center")
:stacking "fg"
:exclusive true
(bar-box))
(defwindow bar1
:monitor 1
:geometry (geometry :x "0%"
:y "0%"
:width "100%"
:height "32px"
:anchor "top center")
:stacking "fg"
:exclusive true
(bar-box))
(defwindow bar2
:monitor 2
:geometry (geometry :x "0%"
:y "0%"
:width "100%"
:height "32px"
:anchor "top center")
:stacking "fg"
:exclusive true
(bar-box))