summaryrefslogtreecommitdiff
path: root/home/wayland/niri/niri.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-11-18 21:00:16 +0100
committeradikro <adikro@disroot.org>2025-11-18 21:00:16 +0100
commit8498fab8785d08402e2330dfb6f45f1121cd1b2b (patch)
tree12798dedc5ff18ecc8d39d714881e351581cee0e /home/wayland/niri/niri.nix
parentf685be6aea021196ee40d909aab0ab6241eef397 (diff)
configured a bunch of niri features
Diffstat (limited to 'home/wayland/niri/niri.nix')
-rw-r--r--home/wayland/niri/niri.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/home/wayland/niri/niri.nix b/home/wayland/niri/niri.nix
index facb35d..0391699 100644
--- a/home/wayland/niri/niri.nix
+++ b/home/wayland/niri/niri.nix
@@ -1,4 +1,34 @@
{ ... }:
{
+ imports = [
+ ./binds.nix
+ ];
+ programs.niri.settings = {
+ prefer-no-csd = true;
+ layout.shadow.enable = true;
+ input = {
+ mouse = {
+ accel-profile = "flat";
+ accel-speed = -0.5;
+ middle-emulation = true;
+ };
+ focus-follows-mouse = {
+ enable = true;
+ max-scroll-amount = "0%";
+ };
+ mod-key = "Alt";
+ keyboard.xkb.layout = "pl";
+ };
+ outputs = {
+ "DP-1" = {
+ mode = {
+ width = 2560;
+ height = 1440;
+ refresh = null;
+ };
+ scale = 1.0;
+ };
+ };
+ };
}