aboutsummaryrefslogtreecommitdiff
path: root/hypr/configs/input.lua
diff options
context:
space:
mode:
authorBlaster4385 <[email protected]>2026-05-15 23:28:20 +0530
committerBlaster4385 <[email protected]>2026-05-18 16:52:47 +0530
commitf826256c010c0e5c8c2bd64adb1fae1c3f399717 (patch)
tree194e7c15f0903b073d2db3dcae6aa09651341a85 /hypr/configs/input.lua
parent8b254a730b26a40ef2d2ccf0881075a6719b6712 (diff)
feat: migrate hyprland config to luaHEADmain
Diffstat (limited to 'hypr/configs/input.lua')
-rw-r--r--hypr/configs/input.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/hypr/configs/input.lua b/hypr/configs/input.lua
new file mode 100644
index 0000000..04fb0da
--- /dev/null
+++ b/hypr/configs/input.lua
@@ -0,0 +1,24 @@
+hl.config({
+ cursor = {
+ inactive_timeout = 5
+ },
+
+ input = {
+ kb_layout = "us",
+ follow_mouse = 1,
+
+ touchpad = {
+ natural_scroll = true,
+ clickfinger_behavior = true,
+ tap_to_click = false,
+ tap_and_drag = false,
+ scroll_factor = 0.3
+ }
+ }
+})
+
+hl.gesture({
+ fingers = 3,
+ direction = "horizontal",
+ action = "workspace"
+})