Add some custom keybinds for sway
This commit is contained in:
parent
8c28246e0b
commit
8a0d241ac2
|
@ -1,4 +1,11 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||
in {
|
||||
imports = [
|
||||
# ./swaylock.nix
|
||||
# ./eww.nix
|
||||
|
@ -28,6 +35,11 @@
|
|||
outer = 20;
|
||||
};
|
||||
bars = [];
|
||||
keybindings = lib.mkOptionDefault {
|
||||
"${modifier}+Return" = "exec ${pkgs.foot}/bin/foot";
|
||||
"${modifier}+Shift+q" = "kill";
|
||||
"${modifier}+w" = "exec ${pkgs.firefox}/bin/firefox";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue