فهرست منبع

add gestures for media stuff

Johan Rong 5 روز پیش
والد
کامیت
124764d63d

+ 1 - 1
home/modules/desktop/hyprland/lua/modules/input.lua

@@ -18,7 +18,7 @@ hl.config({
 })
 
 hl.gesture({
-    fingers = 4,
+    fingers = 3,
     direction = "horizontal",
     action = "workspace"
 })

+ 4 - 3
home/modules/desktop/hyprland/lua/modules/mousebindings.lua

@@ -1,9 +1,10 @@
-hl.bind("mouse:274", function()
+hl.bind("mouse:275", function()
     hl.exec_cmd("playerctl play-pause")
 end)
 
+
 hl.gesture({
-    fingers = 3,
+    fingers = 4,
     direction = "up",
     action = function()
         hl.exec_cmd("playerctl previous")
@@ -11,7 +12,7 @@ hl.gesture({
 })
 
 hl.gesture({
-    fingers = 3,
+    fingers = 4,
     direction = "down",
     action = function()
         hl.exec_cmd("playerctl next")