Ensure shebang in protonmail-setup-bridge script as well

This commit is contained in:
Evie Litherland-Smith 2024-02-05 09:52:20 +00:00
parent db759f8e06
commit e0d6d3512a

View file

@ -23,6 +23,8 @@
];
home.packages = [
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
#!/usr/bin/env bash
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"