Non-obvious context sits in a brief header at the top of a module, everything else uses single-line comments. niri binds use spawn-sh strings, so neon only overrides the command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
607 B
Nix
25 lines
607 B
Nix
# neon: laptop, the built-in display is auto-configured by niri
|
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
wayland.windowManager.niri.settings = {
|
|
input.touchpad = {
|
|
tap = { };
|
|
natural-scroll = { };
|
|
};
|
|
|
|
layout.gaps = lib.mkForce 10;
|
|
|
|
binds = {
|
|
"Print".screenshot = { };
|
|
"Ctrl+Print".screenshot-screen = { };
|
|
"Mod+Shift+P".power-off-monitors = { };
|
|
|
|
# finer brightness steps
|
|
"XF86MonBrightnessUp".spawn-sh = lib.mkForce "brightnessctl --class=backlight set +1%";
|
|
"XF86MonBrightnessDown".spawn-sh = lib.mkForce "brightnessctl --class=backlight set 1%-";
|
|
};
|
|
};
|
|
}
|