framework: niri tweaks
This commit is contained in:
parent
622fc07b5a
commit
8905c31816
3 changed files with 45 additions and 3 deletions
|
|
@ -10,6 +10,8 @@
|
|||
../../workstation.nix
|
||||
];
|
||||
|
||||
programs.waybar.settings.mainBar.modules-left = ["niri/workspaces" "niri/window"];
|
||||
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -44,6 +46,16 @@
|
|||
spawn-at-startup = [
|
||||
{command = [(lib.getExe pkgs.xwayland-satellite)];}
|
||||
];
|
||||
layout = {
|
||||
preset-column-widths = [
|
||||
{proportion = 1.0;}
|
||||
{proportion = 1.0 / 2.0;}
|
||||
];
|
||||
};
|
||||
environment = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
DISPLAY = ":1";
|
||||
};
|
||||
binds = with config.lib.niri.actions; {
|
||||
"Mod+Return".action.spawn = [(lib.getExe config.programs.terminal)];
|
||||
"Mod+O".action.spawn = [(lib.getExe pkgs.cosmic-files)];
|
||||
|
|
@ -55,12 +67,14 @@
|
|||
"Mod+Ctrl+WheelScrollRight".action = move-column-right;
|
||||
|
||||
"Mod+Right".action = focus-column-right;
|
||||
"Mod+Ctrl+Right".action = move-column-right;
|
||||
"Mod+L".action = focus-column-right;
|
||||
"Mod+Ctrl+L".action = move-column-right;
|
||||
|
||||
"Mod+WheelScrollLeft".action = focus-column-left;
|
||||
"Mod+Ctrl+WheelScrollLeft".action = move-column-left;
|
||||
"Mod+Left".action = focus-column-left;
|
||||
"Mod+Ctrl+Left".action = move-column-left;
|
||||
"Mod+H".action = focus-column-left;
|
||||
"Mod+Ctrl+H".action = move-column-left;
|
||||
|
||||
|
|
@ -70,16 +84,28 @@
|
|||
"Mod+Comma".action = consume-or-expel-window-left;
|
||||
"Mod+Period".action = consume-or-expel-window-right;
|
||||
|
||||
"Mod+F".action = fullscreen-window;
|
||||
"Mod+Q".action = close-window;
|
||||
|
||||
"Mod+Shift+Escape".action = quit;
|
||||
"Mod+Escape".action.spawn = lib.getExe config.programs.hyprlock.package;
|
||||
|
||||
"Mod+WheelScrollDown".action = focus-workspace-down;
|
||||
"Mod+WheelScrollUp".action = focus-workspace-up;
|
||||
"Mod+Ctrl+WheelScrollDown".action = move-column-to-workspace-down;
|
||||
"Mod+Ctrl+WheelScrollUp".action = move-column-to-workspace-up;
|
||||
|
||||
"Mod+M".action = maximize-column;
|
||||
"Mod+J".action = focus-workspace-down;
|
||||
"Mod+K".action = focus-workspace-up;
|
||||
"Mod+Ctrl+J".action = move-column-to-workspace-down;
|
||||
"Mod+Ctrl+K".action = move-column-to-workspace-up;
|
||||
|
||||
"Mod+Down".action = focus-workspace-down;
|
||||
"Mod+Up".action = focus-workspace-up;
|
||||
"Mod+Ctrl+Down".action = move-column-to-workspace-down;
|
||||
"Mod+Ctrl+Up".action = move-column-to-workspace-up;
|
||||
|
||||
"Mod+M".action = switch-preset-column-width;
|
||||
"Mod+G".action = toggle-window-floating;
|
||||
|
||||
"Print".action = screenshot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue