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
+15
View File
@@ -0,0 +1,15 @@
(defwidget editmode []
(eventbox
:onscroll "hyprctl dispatch splitratio $(echo {} | sed -e \"s/up/-0.1/g\" -e \"s/down/+0.1/g\")"
:cursor "col-resize"
:onmiddleclick "scripts/toggle-compactmode.sh"
:onrightclick "scripts/toggle-compactmode.sh --enable --border 0"
(checkbox
:class "edit-mode-checkbox edit-mode-checkbox-${editing}"
:onchecked "scripts/editmode.sh enable"
:onunchecked "scripts/editmode.sh disable"
:tooltip "Edit mode (middle-click to move, right-click to resize windows)"
(label :class "icon editmode" :text "")
)
)
)