chore: update flake & niri blur
This commit is contained in:
parent
601dfb9217
commit
98b4f598f8
36 changed files with 516 additions and 317 deletions
63
system/dev/public/dn/wm.nix
Normal file
63
system/dev/public/dn/wm.nix
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
inherit (config.systemConf) username;
|
||||
in
|
||||
{
|
||||
home-manager.users."${username}" =
|
||||
{ ... }:
|
||||
{
|
||||
# ==== Niri ==== #
|
||||
programs.niri.settings = {
|
||||
input.keyboard.xkb = {
|
||||
layout = "us";
|
||||
options = "caps:escape";
|
||||
};
|
||||
workspaces."game" = { };
|
||||
window-rules = [
|
||||
# Steam Game Fullscreen
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
app-id = "^steam_app_(.*)$";
|
||||
title = "^.+$";
|
||||
is-floating = false;
|
||||
}
|
||||
];
|
||||
open-fullscreen = true;
|
||||
}
|
||||
# Steam & Steam Game
|
||||
{
|
||||
matches = [
|
||||
{ app-id = "^steam_app_*"; }
|
||||
{ app-id = "^pioneergame.exe$"; }
|
||||
{
|
||||
app-id = "^steam$";
|
||||
title = "^Steam$";
|
||||
}
|
||||
];
|
||||
open-on-workspace = "game";
|
||||
}
|
||||
# Steam Dialog float
|
||||
{
|
||||
matches = [
|
||||
{ app-id = "^steam$"; }
|
||||
{ title = "(.*)(EasyAntiCheat_EOS_Setup)(.*)"; }
|
||||
{
|
||||
app-id = "^pioneergame.exe$";
|
||||
title = "^$";
|
||||
}
|
||||
];
|
||||
excludes = [
|
||||
{
|
||||
title = "^Steam$";
|
||||
}
|
||||
];
|
||||
open-floating = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
wayland.windowManager.mango.settings = ''
|
||||
xkb_rules_options = caps:escape
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue