quick add on niri
This commit is contained in:
parent
9ec0f2b20d
commit
1562c3b39b
69 changed files with 48 additions and 3226 deletions
|
|
@ -4,10 +4,12 @@
|
|||
plugins = {
|
||||
conform-nvim = {
|
||||
enable = true;
|
||||
settings.formatters_by_ft = {
|
||||
nix = [ "nixfmt" ];
|
||||
lua = [ "stylua" ];
|
||||
python = [ "ruff_format" ];
|
||||
settings = {
|
||||
formatters_by_ft = {
|
||||
nix = [ "nixfmt" ];
|
||||
lua = [ "stylua" ];
|
||||
python = [ "ruff_format" ];
|
||||
};
|
||||
format_on_save = {
|
||||
lsp_fallback = true;
|
||||
timeout_ms = 500;
|
||||
|
|
|
|||
|
|
@ -1,49 +1,50 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.niri.settings.input = {
|
||||
mod-key = "Alt";
|
||||
keyboard = {
|
||||
xkb = {
|
||||
layout = "fr";
|
||||
variant = "";
|
||||
model = "";
|
||||
rules = "";
|
||||
#options = "caps:escape";
|
||||
};
|
||||
repeat-delay = 600;
|
||||
repeat-rate = 25;
|
||||
track-layout = "global";
|
||||
numlock = true;
|
||||
};
|
||||
programs.niri.settings.input = {
|
||||
mod-key = "Alt";
|
||||
keyboard = {
|
||||
xkb = {
|
||||
layout = "fr";
|
||||
variant = "";
|
||||
model = "";
|
||||
rules = "";
|
||||
#options = "caps:escape";
|
||||
};
|
||||
repeat-delay = 600;
|
||||
repeat-rate = 25;
|
||||
track-layout = "global";
|
||||
numlock = true;
|
||||
};
|
||||
|
||||
touchpad = {
|
||||
#enable = false;
|
||||
tap = true;
|
||||
dwt = true;
|
||||
dwtp = true;
|
||||
drag = true;
|
||||
drag-lock = false;
|
||||
natural-scroll = true;
|
||||
accel-speed = 0.0;
|
||||
accel-profile = "adaptive";
|
||||
scroll-method = "two-finger";
|
||||
tap-button-map = "left-middle-right";
|
||||
click-method = "clickfinger";
|
||||
middle-emulation = false;
|
||||
scroll-factor = 1.2;
|
||||
};
|
||||
touchpad = {
|
||||
#enable = false;
|
||||
disabled-on-external-mouse = true;
|
||||
tap = true;
|
||||
dwt = true;
|
||||
dwtp = true;
|
||||
drag = true;
|
||||
drag-lock = false;
|
||||
natural-scroll = true;
|
||||
accel-speed = 0.0;
|
||||
accel-profile = "adaptive";
|
||||
scroll-method = "two-finger";
|
||||
tap-button-map = "left-middle-right";
|
||||
click-method = "clickfinger";
|
||||
middle-emulation = false;
|
||||
scroll-factor = 1.2;
|
||||
};
|
||||
|
||||
mouse = {
|
||||
natural-scroll = false;
|
||||
accel-speed = -0.3;
|
||||
accel-profile = "flat";
|
||||
scroll-factor = 1.2;
|
||||
scroll-method = null;
|
||||
};
|
||||
mouse = {
|
||||
natural-scroll = false;
|
||||
accel-speed = -0.3;
|
||||
accel-profile = "flat";
|
||||
scroll-factor = 1.2;
|
||||
scroll-method = null;
|
||||
};
|
||||
|
||||
focus-follows-mouse = {
|
||||
enable = false;
|
||||
focus-follows-mouse = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue