feat(hyprland): trackpad support

This commit is contained in:
js0ny 2025-08-24 19:15:14 +08:00
parent 1d1371be2b
commit 2af61a662a
2 changed files with 8 additions and 3 deletions

View file

@ -27,6 +27,9 @@ readline:
mkdir -p {{XDG_CONFIG_HOME}}/readline mkdir -p {{XDG_CONFIG_HOME}}/readline
{{LN}} {{DOTFILES}}/common/inputrc {{XDG_CONFIG_HOME}}/readline/inputrc {{LN}} {{DOTFILES}}/common/inputrc {{XDG_CONFIG_HOME}}/readline/inputrc
starship:
{{LN}} {{DOTFILES}}/common/starship.toml {{XDG_CONFIG_HOME}}/starship.toml
[unix] [unix]
vim: vim:

View file

@ -22,7 +22,7 @@ $iconTheme = Papirus
source=~/.config/hypr/hyprland/current.conf source=~/.config/hypr/hyprland/current.conf
source=~/.config/hypr/hyprland/keymaps.conf source=~/.config/hypr/hyprland/keymaps.conf
source=~/.config/hypr/hyprland/+colemak.conf source=~/.config/hypr/hyprland/+qwerty.conf
source=~/.config/hypr/hyprland/rules.conf source=~/.config/hypr/hyprland/rules.conf
autogenerated = 0 # remove this line to remove the warning autogenerated = 0 # remove this line to remove the warning
@ -230,13 +230,15 @@ 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
scroll_factor = 0.2
} }
} }
# https://wiki.hyprland.org/Configuring/Variables/#gestures # https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures { gestures {
workspace_swipe = false workspace_swipe = true
workspace_swipe_fingers = 4
} }
# Example per-device config # Example per-device config