support new niri features in config

This commit is contained in:
Schrottkatze 2025-06-24 17:14:45 +02:00
parent 689b84e498
commit 8110cbb92a
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
2 changed files with 27 additions and 2 deletions

View file

@ -57,6 +57,10 @@
"Mod+Shift+Slash".action.show-hotkey-overlay = [ ];
"Mod+Shift+C".action.set-dynamic-cast-window = [ ];
"Mod+Ctrl+C".action.set-dynamic-cast-monitor = [ ];
"Mod+Shift+Ctrl+C".action.clear-dynamic-cast-target = [ ];
# window/columns controls
"Mod+H".action.focus-column-left = [ ];
"Mod+J".action.focus-window-down = [ ];
@ -109,8 +113,6 @@
"Mod+BracketLeft".action.consume-or-expel-window-left = [ ];
"Mod+BracketRight".action.consume-or-expel-window-right = [ ];
"Mod+F".action.maximize-column = [ ];
"Mod+Shift+F".action.expand-column-to-available-width = [ ];
"Mod+Ctrl+F".action.fullscreen-window = [ ];
"Mod+C".action.center-column = [ ];
"Mod+Minus".action.set-column-width = "-5%";
"Mod+Equal".action.set-column-width = "+5%";
@ -118,6 +120,10 @@
"Mod+Shift+Equal".action.set-window-height = "+10%";
"Mod+W".action.toggle-column-tabbed-display = [ ];
"Mod+Shift+F".action.expand-column-to-available-width = [ ];
"Mod+Ctrl+F".action.fullscreen-window = [ ];
"Mod+Shift+Ctrl+F".action.toggle-windowed-fullscreen = [ ];
# media keys
"XF86AudioRaiseVolume".action.spawn = [
"wpctl"

View file

@ -81,6 +81,25 @@
};
clip-to-geometry = true;
}
{
matches = [ { is-window-cast-target = true; } ];
border = {
inactive.gradient = {
from = "#64de50";
to = "#ff9a56";
in' = "oklch shorter hue";
relative-to = "window";
angle = 135;
};
active.gradient = {
from = "#64de50";
to = "#5bcefa";
in' = "oklch shorter hue";
relative-to = "window";
angle = 135;
};
};
}
];
};
}