Add script to simplify setting up protonmail-bridge

This commit is contained in:
Evie Litherland-Smith 2024-02-05 09:13:59 +00:00
parent be0cac1d59
commit a6ab49d5e2

View file

@ -21,6 +21,13 @@
../nyxt/default.nix
../obs/default.nix
];
home.packages = [
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
pkill -9 -f protonmail-bridge
${pkgs.protonmail-bridge}/bin/protonmail-bridge -c
${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl dispatch exec "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
'')
];
programs = {
rofi = with pkgs; {
package = rofi-wayland;