zen: fix 1password integration as suggested in 0xc000022070/zen-browser-flake/#43

This commit is contained in:
Christoph Hollizeck 2025-04-14 20:38:42 +02:00
parent fc41eaab2d
commit ae7e53fa3b
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 9 additions and 11 deletions

View file

@ -23,13 +23,12 @@ in
zenbrowser
];
environment.sessionVariables.DEFAULT_BROWSER = "${zenbrowser}/bin/zen";
environment.sessionVariables.DEFAULT_BROWSER = "${zenbrowser}/bin/zen-beta";
environment.etc = {
"1password/custom_allowed_browsers" = {
text = ''
.zen-wrapped
.zen-beta-wrapp
zen
'';
mode = "0755";
};

View file

@ -174,7 +174,7 @@ in
"[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
"[workspace 8 silent] vesktop"
"[workspace 9 silent] 1password"
"[workspace 1 silent] zen"
"[workspace 1 silent] zen-beta"
"${pkgs.xorg.xhost}/bin/xhost +"
];
@ -290,7 +290,6 @@ in
#run important programs
"$mod, Return, exec, kitty"
"$mod, Z, exec, zen"
"$mod, D, exec, rofi -show drun"
"$mod, P, exec, focus-or-open-1pass"
# "$mod, D, exec, rofi -show combi"