Nix configurations for my personal machines (Linux & macOS)

niri: misc changes

ovyerus.com 0823795e 41571145

verified
Changed files
+13 -4
home
modules
+13 -4
home/modules/niri.nix
···
};
input.touchpad = {
tap = true;
-
natural-scroll = false;
accel-profile = "adaptive";
};
cursor.size = 32;
···
prefer-no-csd = true;
spawn-at-startup = [
-
{command = ["xwayland-satellite" ":420"];}
# {command = ["hyprpaper"];}
{command = ["kitty"];}
];
environment = {
-
DISPLAY = ":420";
GDK_BACKEND = "wayland";
};
···
"Mod+R".action = spawn "fuzzel";
"Print".action = screenshot;
-
"Ctrl+Print".action = screenshot-screen;
"Alt+Print".action = screenshot-window;
# Resizing
···
};
input.touchpad = {
+
enable = true;
tap = true;
+
natural-scroll = true;
+
scroll-factor = 0.3;
accel-profile = "adaptive";
+
tap-button-map = "left-right-middle";
+
scroll-method = "two-finger";
+
};
+
+
input.focus-follows-mouse = {
+
enable = true;
+
max-scroll-amount = "0%";
};
cursor.size = 32;
···
prefer-no-csd = true;
spawn-at-startup = [
+
{command = ["xwayland-satellite"];}
# {command = ["hyprpaper"];}
{command = ["kitty"];}
];
environment = {
+
DISPLAY = ":0";
GDK_BACKEND = "wayland";
};
···
"Mod+R".action = spawn "fuzzel";
"Print".action = screenshot;
+
# "Ctrl+Print".action = screenshot-screen;
"Alt+Print".action = screenshot-window;
# Resizing