add sway keybindings

This commit is contained in:
insert 2024-06-05 12:29:07 -04:00
parent 633aa1b96d
commit 04325f9867
Signed by: insert
GPG key ID: A70775C389ACF105

View file

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