diff options
| author | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
| commit | eb95abfc230dc239122f1e89e90cd9a998491a2f (patch) | |
| tree | 9d60efacf83b97059f6300e360be2248f8e9c57e /hm/env/niri/niri.nix | |
| parent | e5036417abe5d3597792f869e2831decd50eba5d (diff) | |
...
Diffstat (limited to 'hm/env/niri/niri.nix')
| -rw-r--r-- | hm/env/niri/niri.nix | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/hm/env/niri/niri.nix b/hm/env/niri/niri.nix index b751d3d..3f66f6e 100644 --- a/hm/env/niri/niri.nix +++ b/hm/env/niri/niri.nix @@ -1,8 +1,11 @@ -{ config, lib, pkgs, ... }: -let - cfg = config.hm.env.niri; -in { + config, + lib, + pkgs, + ... +}: let + cfg = config.hm.env.niri; +in { options.hm.env.niri.enable = lib.mkEnableOption "niri hm"; config = lib.mkIf cfg.enable { hm.env = { @@ -15,9 +18,8 @@ in programs.niri.settings = { debug.disable-cursor-plane = []; - binds = import ./binds.nix { inherit config lib pkgs; }; + binds = import ./binds.nix {inherit config lib pkgs;}; - # animations.enable = false; prefer-no-csd = true; hotkey-overlay.skip-at-startup = true; input = { @@ -53,7 +55,6 @@ in cursor = { hide-when-typing = true; size = 48; - theme = "miyabi"; }; layout = { empty-workspace-above-first = true; @@ -66,14 +67,14 @@ in # active = <decoration>; }; preset-column-widths = [ - { proportion = 1. / 3.; } - { proportion = 1. / 2.; } - { proportion = 2. / 3.; } + {proportion = 1. / 3.;} + {proportion = 1. / 2.;} + {proportion = 2. / 3.;} ]; preset-window-heights = [ - { proportion = 1. / 3.; } - { proportion = 1. / 2.; } - { proportion = 2. / 3.; } + {proportion = 1. / 3.;} + {proportion = 1. / 2.;} + {proportion = 2. / 3.;} ]; default-column-width.proportion = 0.5; tab-indicator = { @@ -84,15 +85,14 @@ in window-rules = [ { matches = [ - { app-id = "Bitwarden"; } + {app-id = "Bitwarden";} ]; block-out-from = "screen-capture"; } ]; gestures.hot-corners.enable = false; spawn-at-startup = [ - { command = [ "waybar" ]; } - { command = [ "obs" "--disable-missing-files-check" "--startreplaybuffer" ]; } + {command = ["obs" "--disable-missing-files-check" "--startreplaybuffer"];} ]; }; home.packages = with pkgs; [ |
