ark/users/modules/eww/eww.yuck

78 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")
2022-10-22 23:54:44 +03:00
(include "./windows/music.yuck")
2022-10-04 02:08:44 +03:00
(include "./windows/notifications.yuck")
2022-10-22 23:54:44 +03:00
(include "./windows/sidebar.yuck")
2022-09-14 15:35:52 +03:00
(defwidget sep []
(label :class "separ module" :text "|"))
2022-10-04 02:08:44 +03:00
(defwidget notif-toggle []
(button
:class "notif-toggle module"
2022-10-22 23:54:44 +03:00
:onclick "${EWW_CMD} open --toggle notifications";
2022-10-04 02:08:44 +03:00
{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)
2022-10-22 23:54:44 +03:00
(volume-module)
2022-09-14 15:35:52 +03:00
(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"
2022-10-22 23:54:44 +03:00
(music-module)))
2022-09-14 15:35:52 +03:00
(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))