feat: add autostart and key bindings

This commit is contained in:
Michael Mandl 2023-09-25 14:17:12 +02:00
parent 6913cc47d0
commit 3a451c7d9c
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -79,10 +79,32 @@ in
}]; }];
menu = "${pkgs.fuzzel}/bin/fuzzel"; 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"; }
];
};
}; };
} }