summaryrefslogtreecommitdiff
path: root/hm/env/niri/niri.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/env/niri/niri.nix')
-rw-r--r--hm/env/niri/niri.nix32
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; [