From e0d6d3512a63d16f7932b8cb33ed7ee31222dc7e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 5 Feb 2024 09:52:20 +0000 Subject: [PATCH] Ensure shebang in protonmail-setup-bridge script as well --- home/hyprland/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index d66527ae..9903bdd6 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -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"