diff --git a/home-manager/sway/default.nix b/home-manager/sway/default.nix index 223f0f2..b86c8fd 100644 --- a/home-manager/sway/default.nix +++ b/home-manager/sway/default.nix @@ -79,10 +79,32 @@ in }]; menu = "${pkgs.fuzzel}/bin/fuzzel"; - }; - extraConfig = '' - ''; + keybindings = + let + modifier = config.wayland.windowManager.sway.config.modifier; + in + lib.mkOptionDefault { + "${modifier}+Shift+o" = "exec xdg-open \"zoommtg://zoom.us/join?action=join&confno=4861587170&pwd=ZVk3aHphcWppY21ONjZOMVh6STN6dz09\""; + }; + + assigns = { + "6" = [{ class = "^\.zoom $"; }]; + }; + + startup = [ + { command = "keepassxc"; } + { command = "nextcloud"; } + { command = "swaymsg 'workspace 1"; } + { command = "kitty"; } + { command = "swaymsg 'workspace 2"; } + { command = "element-desktop"; } + { command = "swaymsg 'workspace 4"; } + { command = "thunderbird"; } + { command = "swaymsg 'workspace 5"; } + { command = "firefox"; } + ]; + }; }; }