1
0
Fork 0
forked from ahurac/dotfiles

config/eww ahrc-laptop : protection injection shell (inutile lol)

This commit is contained in:
Ahurac 2024-05-30 15:19:07 +02:00
parent 52fec5e9ee
commit 9eb26b34d2

View file

@ -55,12 +55,12 @@
}')
(defwidget workspaces []
(eventbox :onscroll "action/hyprland/nearby-workspace {}"
(eventbox :onscroll 'action/hyprland/nearby-workspace "{}"'
(box :class "workspaces"
(for workspace in {workspaces.used}
(eventbox
:class "workspace-button ${workspace == workspaces.current ? "workspace-current" : ""}"
:onclick "hyprctl dispatch workspace ${workspace}"
:onclick 'hyprctl dispatch workspace "${workspace}"'
(box :width 25 "${workspace}")
)
)