Add some custom keybinds for sway

This commit is contained in:
Evie Litherland-Smith 2023-06-04 11:33:21 +01:00
parent 8c28246e0b
commit 8a0d241ac2

View file

@ -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";
};
};
};
}