瀏覽代碼

add gestures for media stuff

Johan Rong 5 天之前
父節點
當前提交
98bbdb0d40
共有 2 個文件被更改,包括 3 次插入 和 2 次删除
  1. 1 0
      home/modules/desktop/hyprland/default.nix
  2. 2 2
      home/modules/desktop/hyprland/lua/modules/input.lua

+ 1 - 0
home/modules/desktop/hyprland/default.nix

@@ -11,6 +11,7 @@ in
   home.file.".config/hypr/modules/misc.lua".source = ./lua/modules/misc.lua; 
   home.file.".config/hypr/modules/misc.lua".source = ./lua/modules/misc.lua; 
   home.file.".config/hypr/modules/input.lua".source = ./lua/modules/input.lua; 
   home.file.".config/hypr/modules/input.lua".source = ./lua/modules/input.lua; 
   home.file.".config/hypr/modules/keybindings.lua".source = ./lua/modules/keybindings.lua; 
   home.file.".config/hypr/modules/keybindings.lua".source = ./lua/modules/keybindings.lua; 
+  home.file.".config/hypr/modules/mousebindings.lua".source = ./lua/modules/mousebindings.lua; 
   home.file.".config/hypr/modules/windows_and_workspaces.lua".source = ./lua/modules/windows_and_workspaces.lua; 
   home.file.".config/hypr/modules/windows_and_workspaces.lua".source = ./lua/modules/windows_and_workspaces.lua; 
 
 
   xdg = {
   xdg = {

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

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