Add script to simplify setting up protonmail-bridge
This commit is contained in:
parent
be0cac1d59
commit
a6ab49d5e2
|
@ -21,6 +21,13 @@
|
||||||
../nyxt/default.nix
|
../nyxt/default.nix
|
||||||
../obs/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 = {
|
programs = {
|
||||||
rofi = with pkgs; {
|
rofi = with pkgs; {
|
||||||
package = rofi-wayland;
|
package = rofi-wayland;
|
||||||
|
|
Loading…
Reference in a new issue