From 04325f9867c193f9f77ebc3f7834db25404dc449 Mon Sep 17 00:00:00 2001 From: insert Date: Wed, 5 Jun 2024 12:29:07 -0400 Subject: [PATCH] add sway keybindings --- home.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 8303199..2df8c76 100644 --- a/home.nix +++ b/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 = [ # Launch Firefox on start {command = "wayvnc 100.120.210.58";} @@ -317,7 +326,8 @@ set $surface1 #51576d set $surface0 #414559 set $base #303446 set $mantle #292c3c -set $crust #232634''; +set $crust #232634 +seat seat0 xcursor_theme Catppuccin-Frappe-Blue-Cursors''; }; home.stateVersion = "23.05";