ark/users/modules/eww/eww.yuck

79 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-09-14 15:35:52 +03:00
(include "./modules/bat.yuck")
(include "./modules/bluetooth.yuck")
(include "./modules/bright.yuck")
(include "./modules/clock.yuck")
(include "./modules/cpu.yuck")
(include "./modules/mem.yuck")
(include "./modules/music.yuck")
(include "./modules/net.yuck")
(include "./modules/variables.yuck")
(include "./modules/volume.yuck")
(include "./windows/calendar.yuck")
(include "./windows/music_win.yuck")
2022-10-04 02:08:44 +03:00
(include "./windows/notifications.yuck")
2022-09-14 15:35:52 +03:00
(include "./windows/system.yuck")
(include "./windows/volume_win.yuck")
(defwidget sep []
(label :class "separ module" :text "|"))
2022-10-04 02:08:44 +03:00
(defwidget notif-toggle []
(button
:class "notif-toggle module"
:onclick "scripts/reveal_toggle notification_rev ${EWW_CMD}";
{notif_icons.icon}))
; clipboard 󰅌 󰅍 󰄷
2022-09-14 15:35:52 +03:00
(defwidget workspaces []
(literal :content workspace))
(defwidget left []
(box
:space-evenly false
:halign "start"
(workspaces)))
(defwidget right []
(box
:space-evenly false
:halign "end"
(bright)
(volume)
(net)
(bluetooth)
(sep)
(cpu)
(mem)
(bat)
(sep)
2022-10-04 02:08:44 +03:00
(clock_module)
(notif-toggle)))
2022-09-14 15:35:52 +03:00
(defwidget center []
(box
:space-evenly false
:halign "center"
(music)))
(defwidget bar []
(centerbox
:class "bar"
(left)
(center)
(right)))
(defwindow bar
:monitor 0
:geometry (geometry :x "0%"
2022-10-04 02:08:44 +03:00
:y "0%"
:width "100%"
2022-09-14 15:35:52 +03:00
:height "32px"
:anchor "top center")
:stacking "fg"
:windowtype "dock"
:exclusive true
:wm-ignore false
(bar))