changed niri config to new format
This commit is contained in:
parent
e5d1965665
commit
b56e643cd2
1 changed files with 56 additions and 56 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, pkgs, ... }: lib.mkIf (config.withNiri) {
|
{ lib, config, ... }: lib.mkIf (config.withNiri) {
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
home-manager.users.twoneis = {
|
home-manager.users.twoneis = {
|
||||||
programs.niri = {
|
programs.niri = {
|
||||||
|
@ -48,12 +48,12 @@
|
||||||
layout = {
|
layout = {
|
||||||
focus-ring = {
|
focus-ring = {
|
||||||
width = 4;
|
width = 4;
|
||||||
active-gradient = {
|
active.gradient = {
|
||||||
from="#31748f";
|
from="#31748f";
|
||||||
to="#9ccfd8";
|
to="#9ccfd8";
|
||||||
angle=135;
|
angle=135;
|
||||||
};
|
};
|
||||||
inactive-color = "#c4a7e7";
|
inactive.color = "#c4a7e7";
|
||||||
};
|
};
|
||||||
|
|
||||||
preset-column-widths = [
|
preset-column-widths = [
|
||||||
|
@ -78,70 +78,70 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
binds = {
|
binds = {
|
||||||
"Mod+T".spawn = "alacritty";
|
"Mod+T".action.spawn = "alacritty";
|
||||||
"Mod+B".spawn = "firefox";
|
"Mod+B".action.spawn = "firefox";
|
||||||
"Mod+S".spawn = ["fuzzel" "-I"];
|
"Mod+S".action.spawn = ["fuzzel" "-I"];
|
||||||
|
|
||||||
"XF86AudioRaiseVolume".spawn = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+";
|
"XF86AudioRaiseVolume".action.spawn = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+";
|
||||||
"XF86AudioLowerVolume".spawn = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-";
|
"XF86AudioLowerVolume".action.spawn = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-";
|
||||||
|
|
||||||
"Mod+Backspace".close-window = [];
|
"Mod+Backspace".action.close-window = [];
|
||||||
|
|
||||||
"Mod+Left".focus-column-left = [];
|
"Mod+Left".action.focus-column-left = [];
|
||||||
"Mod+Right".focus-column-right = [];
|
"Mod+Right".action.focus-column-right = [];
|
||||||
"Mod+Up".focus-window-up = [];
|
"Mod+Up".action.focus-window-up = [];
|
||||||
"Mod+Down".focus-window-down = [];
|
"Mod+Down".action.focus-window-down = [];
|
||||||
"Mod+Comma".focus-column-left = [];
|
"Mod+Comma".action.focus-column-left = [];
|
||||||
"Mod+Period".focus-column-right = [];
|
"Mod+Period".action.focus-column-right = [];
|
||||||
"Mod+E".focus-window-up = [];
|
"Mod+E".action.focus-window-up = [];
|
||||||
"Mod+O".focus-window-down = [];
|
"Mod+O".action.focus-window-down = [];
|
||||||
|
|
||||||
"Mod+Shift+Left".move-column-left = [];
|
"Mod+Shift+Left".action.move-column-left = [];
|
||||||
"Mod+Shift+Right".move-column-right = [];
|
"Mod+Shift+Right".action.move-column-right = [];
|
||||||
"Mod+Shift+Up".move-window-up = [];
|
"Mod+Shift+Up".action.move-window-up = [];
|
||||||
"Mod+Shift+Down".move-window-down = [];
|
"Mod+Shift+Down".action.move-window-down = [];
|
||||||
"Mod+Shift+Comma".move-column-left = [];
|
"Mod+Shift+Comma".action.move-column-left = [];
|
||||||
"Mod+Shift+Period".move-column-right = [];
|
"Mod+Shift+Period".action.move-column-right = [];
|
||||||
"Mod+Shift+E".move-window-up = [];
|
"Mod+Shift+E".action.move-window-up = [];
|
||||||
"Mod+Shift+O".move-window-down = [];
|
"Mod+Shift+O".action.move-window-down = [];
|
||||||
|
|
||||||
"Mod+Ctrl+Left".focus-monitor-left = [];
|
"Mod+Ctrl+Left".action.focus-monitor-left = [];
|
||||||
"Mod+Ctrl+Right".focus-monitor-right = [];
|
"Mod+Ctrl+Right".action.focus-monitor-right = [];
|
||||||
"Mod+Ctrl+Up".focus-monitor-up = [];
|
"Mod+Ctrl+Up".action.focus-monitor-up = [];
|
||||||
"Mod+Ctrl+Down".focus-monitor-down = [];
|
"Mod+Ctrl+Down".action.focus-monitor-down = [];
|
||||||
"Mod+Ctrl+Comma".focus-monitor-left = [];
|
"Mod+Ctrl+Comma".action.focus-monitor-left = [];
|
||||||
"Mod+Ctrl+Period".focus-monitor-right = [];
|
"Mod+Ctrl+Period".action.focus-monitor-right = [];
|
||||||
"Mod+Ctrl+E".focus-monitor-up = [];
|
"Mod+Ctrl+E".action.focus-monitor-up = [];
|
||||||
"Mod+Ctrl+O".focus-monitor-down = [];
|
"Mod+Ctrl+O".action.focus-monitor-down = [];
|
||||||
|
|
||||||
"Mod+Shift+Ctrl+Left".move-column-to-monitor-left = [];
|
"Mod+Shift+Ctrl+Left".action.move-column-to-monitor-left = [];
|
||||||
"Mod+Shift+Ctrl+Right".move-column-to-monitor-right = [];
|
"Mod+Shift+Ctrl+Right".action.move-column-to-monitor-right = [];
|
||||||
"Mod+Shift+Ctrl+Up".move-column-to-monitor-up = [];
|
"Mod+Shift+Ctrl+Up".action.move-column-to-monitor-up = [];
|
||||||
"Mod+Shift+Ctrl+Down".move-column-to-monitor-down = [];
|
"Mod+Shift+Ctrl+Down".action.move-column-to-monitor-down = [];
|
||||||
"Mod+Shift+Ctrl+Comma".move-column-to-monitor-left = [];
|
"Mod+Shift+Ctrl+Comma".action.move-column-to-monitor-left = [];
|
||||||
"Mod+Shift+Ctrl+Period".move-column-to-monitor-right = [];
|
"Mod+Shift+Ctrl+Period".action.move-column-to-monitor-right = [];
|
||||||
"Mod+Shift+Ctrl+E".move-column-to-monitor-up = [];
|
"Mod+Shift+Ctrl+E".action.move-column-to-monitor-up = [];
|
||||||
"Mod+Shift+Ctrl+O".move-column-to-monitor-down = [];
|
"Mod+Shift+Ctrl+O".action.move-column-to-monitor-down = [];
|
||||||
|
|
||||||
"Mod+P".consume-window-into-column = [];
|
"Mod+P".action.consume-window-into-column = [];
|
||||||
"Mod+Shift+P".expel-window-from-column = [];
|
"Mod+Shift+P".action.expel-window-from-column = [];
|
||||||
|
|
||||||
"Mod+Z".switch-preset-column-width = [];
|
"Mod+Z".action.switch-preset-column-width = [];
|
||||||
"Mod+F".maximize-column = [];
|
"Mod+F".action.maximize-column = [];
|
||||||
"Mod+Shift+F".fullscreen-window = [];
|
"Mod+Shift+F".action.fullscreen-window = [];
|
||||||
"Mod+K".center-column = [];
|
"Mod+K".action.center-column = [];
|
||||||
|
|
||||||
"Mod+Plus".set-column-width = "+10%";
|
"Mod+Plus".action.set-column-width = "+10%";
|
||||||
"Mod+Minus".set-column-width = "-10%";
|
"Mod+Minus".action.set-column-width = "-10%";
|
||||||
"Mod+Shift+Plus".set-window-height = "+10%";
|
"Mod+Shift+Plus".action.set-window-height = "+10%";
|
||||||
"Mod+Shift+Minus".set-window-height = "-10%";
|
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
||||||
|
|
||||||
"Mod+Shift+S".screenshot = [];
|
"Mod+Shift+S".action.screenshot = [];
|
||||||
"Mod+Shift+Ctrl+S".screenshot-window = [];
|
"Mod+Shift+Ctrl+S".action.screenshot-window = [];
|
||||||
"Print".screenshot-screen = [];
|
"Print".action.screenshot-screen = [];
|
||||||
|
|
||||||
"Mod+Shift+L".spawn = "swaylock";
|
"Mod+Shift+L".action.spawn = "swaylock";
|
||||||
"Mod+Shift+Q".quit = [];
|
"Mod+Shift+Q".action.quit = [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue