add sway keybindings
This commit is contained in:
parent
633aa1b96d
commit
04325f9867
1 changed files with 11 additions and 1 deletions
12
home.nix
12
home.nix
|
@ -280,6 +280,15 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
keybindings = let
|
||||||
|
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||||
|
in lib.mkOptionDefault {
|
||||||
|
#"''${modifier}+Return" = "exec ${cfg.config.terminal}";
|
||||||
|
"${modifier}+c" = "kill";
|
||||||
|
"${modifier}+r" = "exec ${config.wayland.windowManager.sway.config.menu}";
|
||||||
|
"${modifier}+p" = "exec grim -g \"\$(slurp)\" - | wl-copy";
|
||||||
|
"${modifier}+v" = "floating toggle";
|
||||||
|
};
|
||||||
startup = [
|
startup = [
|
||||||
# Launch Firefox on start
|
# Launch Firefox on start
|
||||||
{command = "wayvnc 100.120.210.58";}
|
{command = "wayvnc 100.120.210.58";}
|
||||||
|
@ -317,7 +326,8 @@ set $surface1 #51576d
|
||||||
set $surface0 #414559
|
set $surface0 #414559
|
||||||
set $base #303446
|
set $base #303446
|
||||||
set $mantle #292c3c
|
set $mantle #292c3c
|
||||||
set $crust #232634'';
|
set $crust #232634
|
||||||
|
seat seat0 xcursor_theme Catppuccin-Frappe-Blue-Cursors'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
|
|
Loading…
Reference in a new issue