This commit is contained in:
end-4
2024-02-22 15:35:06 +07:00
commit 8db26e9707
4220 changed files with 208544 additions and 0 deletions
@@ -0,0 +1,27 @@
(defvar ws-icons '["❶", "❷", "❸", "❹", "❺", "❻", "❼", "❽", "❾", "❿"]')
(defwidget workspaces []
(eventbox
:onscroll "echo {} | sed -e \"s/up/-1/g\" -e \"s/down/+1/g\" | xargs hyprctl dispatch workspace"
:onmiddleclick "${EWW_CMD} open --toggle overview"
:onrightclick "${EWW_CMD} open --toggle overview"
(box
:class "module workspaces"
:spacing 0
:space-evenly false
(for i in workspace
(button
:onclick "hyprctl dispatch workspace ${i.num}"
:class "ws"
:style "color: ${i.clr};"
"${ws-icons[i.num - 1]}"
; "●"
)
)
)
)
)
; ①②③④⑤⑥⑦⑧⑨⑩