reformat niri

This commit is contained in:
Sean Kovacs 2026-02-22 11:49:11 -05:00
commit cc05f03bd8
Signed by: sckova
GPG key ID: 00F325187C68651A
2 changed files with 20 additions and 49 deletions

View file

@ -1,6 +1,5 @@
{ {
config, config,
pkgs,
... ...
}: }:
{ {
@ -181,7 +180,7 @@
title = "Minecraft"; title = "Minecraft";
} }
]; ];
open-maximized = true; open-maximized-to-edges = true;
open-focused = true; open-focused = true;
} }
{ {
@ -214,7 +213,7 @@
]; ];
layer-rules = [ layer-rules = [
{ {
matches = [ { namespace = "noctalia-bar-content-.*"; } ]; matches = [ { namespace = "noctalia-bar-content-.*$"; } ];
background-effect = { background-effect = {
xray = false; xray = false;
blur = true; blur = true;
@ -223,21 +222,23 @@
}; };
} }
{ {
matches = [ { namespace = "noctalia-bar-exclusion-top-.*"; } ]; matches = [ { namespace = "noctalia-bar-exclusion-top-.*$"; } ];
place-within-backdrop = true; place-within-backdrop = true;
} }
{ {
matches = [ { namespace = "^launcher$"; } ]; matches = [ { namespace = "^launcher$"; } ];
opacity = 0.925; opacity = 0.925;
background-effect = {
xray = false;
blur = true;
noise = 0.05;
saturation = 1;
};
} }
{ {
matches = [ matches = [
{ { namespace = "^wpaperd.*"; }
namespace = "^wpaperd.*"; { namespace = "^awww-daemon"; }
}
{
namespace = "^awww-daemon";
}
]; ];
place-within-backdrop = true; place-within-backdrop = true;
} }
@ -401,29 +402,13 @@
allow-when-locked = true; allow-when-locked = true;
}; };
"XF86Sleep" = { "XF86Sleep".action.power-off-monitors = { };
action.power-off-monitors = { };
};
"XF86Search" = { "XF86Search".action.spawn = [ "fuzzel" ];
action.spawn = [
"noctalia-shell"
"ipc"
"call"
"launcher"
"toggle"
];
allow-when-locked = true;
};
"XF86LaunchA" = { "XF86LaunchA" = {
action.spawn = [ action.toggle-overview = { };
"niri" repeat = false;
"msg"
"action"
"toggle-overview"
];
allow-when-locked = true;
}; };
"Mod+O" = { "Mod+O" = {
@ -551,18 +536,14 @@
"Mod+Ctrl+Shift+F".action.fullscreen-window = { }; "Mod+Ctrl+Shift+F".action.fullscreen-window = { };
"Mod+C".action.center-column = { }; "Mod+C".action.center-column = { };
"Mod+Ctrl+C".action.center-visible-columns = { }; "Mod+Ctrl+C".action.center-visible-columns = { };
"Mod+Minus".action.set-column-width = "-10%"; "Mod+Minus".action.set-column-width = "-10%";
"Mod+Equal".action.set-column-width = "+10%"; "Mod+Equal".action.set-column-width = "+10%";
"Mod+Shift+Minus".action.set-window-height = "-10%"; "Mod+Shift+Minus".action.set-window-height = "-10%";
"Mod+Shift+Equal".action.set-window-height = "+10%"; "Mod+Shift+Equal".action.set-window-height = "+10%";
"Mod+Ctrl+Minus".action.set-column-width = "-0.25%"; "Mod+Ctrl+Minus".action.set-column-width = "-0.25%";
"Mod+Ctrl+Equal".action.set-column-width = "+0.25%"; "Mod+Ctrl+Equal".action.set-column-width = "+0.25%";
"Mod+Ctrl+Shift+Minus".action.set-window-height = "-0.25%"; "Mod+Ctrl+Shift+Minus".action.set-window-height = "-0.25%";
"Mod+Ctrl+Shift+Equal".action.set-window-height = "+0.25%"; "Mod+Ctrl+Shift+Equal".action.set-window-height = "+0.25%";
@ -571,18 +552,10 @@
"Mod+W".action.toggle-column-tabbed-display = { }; "Mod+W".action.toggle-column-tabbed-display = { };
"Print".action.screenshot = { "Print".action.screenshot.show-pointer = false;
show-pointer = false; "Mod+Shift+S".action.screenshot.show-pointer = false;
}; "Ctrl+Print".action.screenshot-screen.show-pointer = false;
"Mod+Shift+S".action.screenshot = { "Alt+Print".action.screenshot-window.show-pointer = false;
show-pointer = false;
};
"Ctrl+Print".action.screenshot-screen = {
show-pointer = false;
};
"Alt+Print".action.screenshot-window = {
show-pointer = false;
};
"Mod+Escape" = { "Mod+Escape" = {
action.toggle-keyboard-shortcuts-inhibit = { }; action.toggle-keyboard-shortcuts-inhibit = { };

View file

@ -613,8 +613,6 @@
]; ];
}; };
Install = { Install.WantedBy = [ "niri.service" ];
WantedBy = [ "niri.service" ];
};
}; };
} }