Bladeren bron

add gestures for media stuff

Johan Rong 5 dagen geleden
bovenliggende
commit
98bbdb0d40
2 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  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/input.lua".source = ./lua/modules/input.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; 
 
   xdg = {

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

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