eww: better user experience with volume menu and control center

This commit is contained in:
retrozinndev
2024-12-24 12:54:47 -03:00
parent f30076a2a5
commit ed4d37e5dc
10 changed files with 39 additions and 16 deletions
+7 -1
View File
@@ -1,6 +1,12 @@
(defvar hover_workspaces false)
(defwidget workspaces []
(eventbox :onscroll "[[ {} == up ]] && hyprctl dispatch workspace e+1 >> /dev/null || hyprctl dispatch workspace e-1 >> /dev/null"
(eventbox :onscroll "[[ {} == up ]] && hyprctl dispatch workspace e+1 >> /dev/null || hyprctl dispatch workspace e-1 >> /dev/null"
:class "workspaces-eventbox"
:onhover "${EWW_CMD} update hover_workspaces=true"
:onhoverlost "${EWW_CMD} update hover_workspaces=false"
(box :class "workspaces"
(literal :content literal_workspaces)
)
)
)