Revert "Replace protonmail-bridge with protonmail-bridge-gui"

This reverts commit f972333362.
This commit is contained in:
Evie Litherland-Smith 2025-01-13 09:06:17 +00:00
parent f972333362
commit 901846c0eb
2 changed files with 8 additions and 1 deletions

View file

@ -28,7 +28,6 @@
hunspellDicts.en_GB-large
wl-clipboard
proton-pass
protonmail-bridge-gui
hyprpicker
grim
slurp

View file

@ -14,6 +14,13 @@
./avizo.nix
./wlogout.nix
];
home.packages = [
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
pkill -9 -f protonmail-bridge
PASSWORD_STORE_DIR=/dev/null ${pkgs.protonmail-bridge}/bin/protonmail-bridge -c
${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl dispatch exec "PASSWORD_STORE_DIR=/dev/null ${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
'')
];
stylix.targets.hyprlock.enable = false; # TODO maybe re-enable once I've checked what it does
services = {
kanshi.systemdTarget = "hyprland-session.target";
@ -156,6 +163,7 @@
"systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME"
"${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${config.gtk.cursorTheme.name} ${toString config.gtk.cursorTheme.size}"
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
"PASSWORD_STORE_DIR=/dev/null ${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
"${pkgs.dex}/bin/dex -a"
];
gestures.workspace_swipe = true;