Skip to content

Commit

Permalink
hyprland: set small scroll factor only for some windows
Browse files Browse the repository at this point in the history
Most affected programs that have too high of a scroll rate are GTK3
programs and browsers.
  • Loading branch information
fufexan committed Dec 12, 2024
1 parent 3e70239 commit 30aaed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions home/programs/wayland/hyprland/rules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@

# don't render hyprbars on tiling windows
"plugin:hyprbars:nobar, floating:0"

# less sensitive scroll for some windows
"scrolltouchpad 0.1, class:^(zen|firefox|chromium-browser)$"
];
};
}
1 change: 0 additions & 1 deletion home/programs/wayland/hyprland/settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ in {
follow_mouse = 1;
accel_profile = "flat";
tablet.output = "current";
touchpad.scroll_factor = 0.1;
};

dwindle = {
Expand Down

0 comments on commit 30aaed4

Please sign in to comment.