Compare commits
3 commits
9b0c02deb9
...
6da74e745e
Author | SHA1 | Date | |
---|---|---|---|
6da74e745e | |||
a29326adf1 | |||
e51f883626 |
6 changed files with 12 additions and 29 deletions
|
@ -135,13 +135,16 @@ in
|
||||||
"Mod+Shift+U".action = move-window-to-workspace-up;
|
"Mod+Shift+U".action = move-window-to-workspace-up;
|
||||||
"Mod+Shift+I".action = move-window-to-workspace-down;
|
"Mod+Shift+I".action = move-window-to-workspace-down;
|
||||||
"Mod+W".action = maximize-column;
|
"Mod+W".action = maximize-column;
|
||||||
|
"Mod+E".action = set-column-width "50%";
|
||||||
|
"Mod+R".action = set-column-width "75%";
|
||||||
|
"Mod+Q".action = set-column-width "25%";
|
||||||
"Mod+C".action = center-column;
|
"Mod+C".action = center-column;
|
||||||
"Mod+Shift+Space".action = toggle-window-floating;
|
"Mod+Shift+Space".action = toggle-window-floating;
|
||||||
"Mod+Space".action = switch-focus-between-floating-and-tiling;
|
"Mod+Space".action = switch-focus-between-floating-and-tiling;
|
||||||
"Print".action = screenshot;
|
"Print".action = screenshot;
|
||||||
"Alt+Print".action = screenshot-window;
|
"Alt+Print".action = screenshot-window;
|
||||||
"Ctrl+Print".action = screenshot-screen;
|
"Ctrl+Print".action = screenshot-screen;
|
||||||
"Mod+R".action = switch-preset-column-width;
|
# "Mod+R".action = switch-preset-column-width;
|
||||||
"Mod+Shift+R".action = switch-preset-window-height;
|
"Mod+Shift+R".action = switch-preset-window-height;
|
||||||
"Mod+Ctrl+R".action = reset-window-height;
|
"Mod+Ctrl+R".action = reset-window-height;
|
||||||
"Mod+F".action = fullscreen-window;
|
"Mod+F".action = fullscreen-window;
|
||||||
|
|
|
@ -115,7 +115,8 @@
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
'';
|
'';
|
||||||
"<Tab>" = ''
|
# plain tab conflicts with i try to indent
|
||||||
|
"<C-Tab>" = ''
|
||||||
cmp.mapping(function(fallback)
|
cmp.mapping(function(fallback)
|
||||||
if require("luasnip").jumpable(1) then
|
if require("luasnip").jumpable(1) then
|
||||||
require("luasnip").jump(1)
|
require("luasnip").jump(1)
|
||||||
|
@ -174,6 +175,7 @@
|
||||||
};
|
};
|
||||||
plugins.fzf-lua = {
|
plugins.fzf-lua = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
profile = "fzf-native";
|
||||||
keymaps = {
|
keymaps = {
|
||||||
"<leader>ff" = "files";
|
"<leader>ff" = "files";
|
||||||
"<leader>fg" = "live_grep";
|
"<leader>fg" = "live_grep";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -26,6 +26,7 @@
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
builders-use-substitutes = true
|
builders-use-substitutes = true
|
||||||
'';
|
'';
|
||||||
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
};
|
};
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
networking.firewall.logRefusedConnections = false;
|
networking.firewall.logRefusedConnections = false;
|
||||||
|
|
|
@ -311,8 +311,7 @@
|
||||||
|
|
||||||
services.trezord.enable = true;
|
services.trezord.enable = true;
|
||||||
|
|
||||||
my.niri = {
|
programs.niri.enable = true;
|
||||||
enable = true;
|
programs.niri.package = pkgs.niri-unstable;
|
||||||
package = pkgs.niri-unstable;
|
programs.xwayland.enable = true;
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,5 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./backup.nix
|
./backup.nix
|
||||||
./niri.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
cfg = config.my.niri;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.my.niri = {
|
|
||||||
enable = lib.mkEnableOption "niri";
|
|
||||||
package = lib.mkPackageOption pkgs "niri" { };
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
programs.niri.package = cfg.package;
|
|
||||||
programs.niri.enable = true;
|
|
||||||
programs.xwayland.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue