Ensure shebang in protonmail-setup-bridge script as well
This commit is contained in:
parent
db759f8e06
commit
e0d6d3512a
|
@ -23,6 +23,8 @@
|
||||||
];
|
];
|
||||||
home.packages = [
|
home.packages = [
|
||||||
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
|
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
pkill -9 -f protonmail-bridge
|
pkill -9 -f protonmail-bridge
|
||||||
${pkgs.protonmail-bridge}/bin/protonmail-bridge -c
|
${pkgs.protonmail-bridge}/bin/protonmail-bridge -c
|
||||||
${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl dispatch exec "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
|
${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl dispatch exec "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
|
||||||
|
|
Loading…
Reference in a new issue