Touchpad Gestures and Natural Scroll

- Add Table of Contents to README
- Enable natural scroll with touchpad
- Enable workspace swipe touchpad gesture
This commit is contained in:
Sravan Balaji
2025-04-26 21:19:45 -04:00
parent 844d50a1f5
commit 270618456b
2 changed files with 39 additions and 6 deletions

View File

@@ -4,6 +4,38 @@
#+STARTUP: showeverything #+STARTUP: showeverything
* Table of Contents :TOC_3:noexport: * Table of Contents :TOC_3:noexport:
- [[#welcome][Welcome]]
- [[#hyprland][Hyprland]]
- [[#monitors][Monitors]]
- [[#programs][Programs]]
- [[#autostart][Autostart]]
- [[#environment-variables][Environment Variables]]
- [[#permissions][Permissions]]
- [[#look-and-feel][Look and Feel]]
- [[#general][General]]
- [[#decoration][Decoration]]
- [[#animations][Animations]]
- [[#dwindle-layout][Dwindle Layout]]
- [[#master-layout][Master Layout]]
- [[#miscellaneous][Miscellaneous]]
- [[#input][Input]]
- [[#keyboard-and-mouse][Keyboard and Mouse]]
- [[#gestures][Gestures]]
- [[#device][Device]]
- [[#keybindings][Keybindings]]
- [[#mod-key][Mod Key]]
- [[#launch-programs][Launch Programs]]
- [[#move-focus][Move Focus]]
- [[#switch-workspaces][Switch Workspaces]]
- [[#move-windows][Move Windows]]
- [[#special-workspace][Special Workspace]]
- [[#workspace-scroll][Workspace Scroll]]
- [[#move--resize-windows][Move / Resize Windows]]
- [[#laptop-multimedia-keys][Laptop Multimedia Keys]]
- [[#media-controls][Media Controls]]
- [[#windows-and-workspaces][Windows and Workspaces]]
- [[#window-rules][Window Rules]]
- [[#smart-gaps][Smart Gaps]]
* Welcome * Welcome
@@ -184,7 +216,7 @@ animations {
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
dwindle { dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = true # Master switch for pseudotiling. See keybinding section to enable
preserve_split = true # You probably want this preserve_split = true # You probably want this
} }
#+END_SRC #+END_SRC
@@ -192,6 +224,7 @@ dwindle {
*** Master Layout *** Master Layout
- [[https://wiki.hyprland.org/Configuring/Master-Layout/][Hyprland Wiki - Configuring - Master Layout]] - [[https://wiki.hyprland.org/Configuring/Master-Layout/][Hyprland Wiki - Configuring - Master Layout]]
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
master { master {
new_status = master new_status = master
@@ -228,7 +261,7 @@ input {
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad { touchpad {
natural_scroll = false natural_scroll = true
} }
} }
#+END_SRC #+END_SRC
@@ -239,7 +272,7 @@ input {
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
gestures { gestures {
workspace_swipe = false workspace_swipe = true
} }
#+END_SRC #+END_SRC

View File

@@ -79,7 +79,7 @@ animations {
} }
dwindle { dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = true # Master switch for pseudotiling. See keybinding section to enable
preserve_split = true # You probably want this preserve_split = true # You probably want this
} }
@@ -104,12 +104,12 @@ input {
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad { touchpad {
natural_scroll = false natural_scroll = true
} }
} }
gestures { gestures {
workspace_swipe = false workspace_swipe = true
} }
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier