[m] Various fixes and reverts
This commit is contained in:
1 parent
efa2a5c0be
commit
675d79ad1a
10 files changed
+35
-100
No files matched your search
@@ -1,17 +1,22 @@
|
||||
(deflisten workspace :initial '[]' "scripts/workspaces")
|
||||
|
||||
(defwidget workspace-mod []
|
||||
(module
|
||||
(eventbox
|
||||
(module
|
||||
(eventbox
|
||||
:onscroll "echo {} | sed -e \"s/up/-1/g\" -e \"s/down/+1/g\" | xargs hyprctl dispatch workspace"
|
||||
(box
|
||||
:class "module workspaces"
|
||||
:orientation "v"
|
||||
(for ws in workspace
|
||||
(button
|
||||
:onclick "hyprctl dispatch workspace ${ws.number}"
|
||||
:class "ws icon ${ws.color}"
|
||||
; :tooltip {ws.tooltip}
|
||||
(box
|
||||
:class `${ws.focused ? "focused" : ""}`
|
||||
:height 3)))))))
|
||||
(box
|
||||
:class "module workspaces"
|
||||
:orientation "v"
|
||||
(for ws in workspace
|
||||
(button
|
||||
:onclick "hyprctl dispatch workspace ${ws.number}"
|
||||
(label
|
||||
:class "icon-text ${ws.color}"
|
||||
:text `${ws.focused ? "" : ""}`
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user