소스 검색

add gestures for media stuff

Johan Rong 5 일 전
부모
커밋
124764d63d
2개의 변경된 파일과 5개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      home/modules/desktop/hyprland/lua/modules/input.lua
  2. 4 3
      home/modules/desktop/hyprland/lua/modules/mousebindings.lua

+ 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")