Add script to simplify setting up protonmail-bridge
This commit is contained in:
parent
be0cac1d59
commit
a6ab49d5e2
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue