From 791bc419b6dac7c70951981ef6b34cdf85828470 Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 20 Dec 2025 03:14:45 +0100 Subject: absolutely massive rewrite, made (almost) everything modular with changes to come --- modules/hm/wayland/niri/niri.nix | 72 ---------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 modules/hm/wayland/niri/niri.nix (limited to 'modules/hm/wayland/niri/niri.nix') diff --git a/modules/hm/wayland/niri/niri.nix b/modules/hm/wayland/niri/niri.nix deleted file mode 100644 index e6c8619..0000000 --- a/modules/hm/wayland/niri/niri.nix +++ /dev/null @@ -1,72 +0,0 @@ -{ lib, pkgs, ... }: -{ - programs.niri.settings = { - prefer-no-csd = true; - hotkey-overlay.skip-at-startup = true; - input = { - mouse = { - accel-profile = "flat"; - accel-speed = -0.6; - middle-emulation = true; - scroll-factor = 1.5; - }; - focus-follows-mouse = { - enable = true; - max-scroll-amount = "10%"; - }; - mod-key = "Alt"; - keyboard = { - xkb.layout = "pl"; - repeat-delay = 400; - repeat-rate = 60; - }; - power-key-handling.enable = false; - }; - outputs = { - "DP-1" = { - focus-at-startup = true; - # backdrop-color = ""; - variable-refresh-rate = "on-demand"; - mode = { - width = 2560; - height = 1440; - refresh = 239.998; - }; - }; - }; - cursor = { - hide-when-typing = true; - size = 8; - # theme = ""; - }; - layout = { - border = { - width = 2; - # active = ; - }; - focus-ring = { - width = 2; - # active = ; - }; - preset-column-widths = [ - { proportion = 1. / 3.; } - { proportion = 1. / 2.; } - { proportion = 2. / 3.; } - ]; - preset-window-heights = [ - { proportion = 1. / 3.; } - { proportion = 1. / 2.; } - { proportion = 2. / 3.; } - ]; - default-column-width.proportion = 0.5; - tab-indicator = { - gaps-between-tabs = 3; - position = "top"; - }; - }; - spawn-at-startup = [ - { command = [ "${lib.getExe pkgs.xwayland-satellite}" ]; } - { command = [ "awww-daemon" ]; } - ]; - }; -} -- cgit v1.3