feat(browser): move to zen
This commit is contained in:
@@ -12,6 +12,7 @@ lib.my.makeSwitch {
|
||||
firefox.enable = true;
|
||||
librewolf.enable = true;
|
||||
chromium.enable = true;
|
||||
zen.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,5 +50,8 @@ lib.my.makeHomeProgramConfig {
|
||||
"--wayland-text-input-version=3"
|
||||
];
|
||||
};
|
||||
my.persist.homeDirs = [
|
||||
".config/chromium"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
./firefox.nix
|
||||
./librewolf.nix
|
||||
./chromium.nix
|
||||
./zen.nix
|
||||
];
|
||||
}
|
||||
|
||||
29
modules/desktop/browser/zen.nix
Normal file
29
modules/desktop/browser/zen.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeHomeProgramConfig {
|
||||
inherit config;
|
||||
programName = "zen-browser";
|
||||
optionPath = [
|
||||
"desktop"
|
||||
"browser"
|
||||
"zen"
|
||||
];
|
||||
extraConfig = {
|
||||
my.home.programs.zen-browser = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
||||
policies = {
|
||||
# find more options here: https://mozilla.github.io/policy-templates/
|
||||
DisableAppUpdate = true;
|
||||
DisableTelemetry = true;
|
||||
};
|
||||
};
|
||||
my.persist.homeDirs = [
|
||||
".zen"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -66,7 +66,7 @@
|
||||
draw-border-with-background = false;
|
||||
}
|
||||
{
|
||||
matches = [ { app-id = "kitty|foot|Alacritty|ghostty|chromium-browser|wofi"; } ];
|
||||
matches = [ { app-id = "kitty|foot|Alacritty|ghostty|chromium-browser|zen-beta|wofi"; } ];
|
||||
opacity = 0.8;
|
||||
}
|
||||
{
|
||||
@@ -125,7 +125,7 @@
|
||||
"kitty"
|
||||
"-1"
|
||||
];
|
||||
"Mod+G".action.spawn = [ "chromium" ];
|
||||
"Mod+G".action.spawn = [ "zen-beta" ];
|
||||
"Mod+E".action.spawn = [ "nemo" ];
|
||||
"Mod+R".action.spawn = [
|
||||
"sh"
|
||||
@@ -159,7 +159,7 @@
|
||||
action.spawn = [
|
||||
"playerctl"
|
||||
"-i"
|
||||
"firefox,chromium"
|
||||
"firefox,chromium,zen"
|
||||
"play-pause"
|
||||
];
|
||||
};
|
||||
@@ -168,7 +168,7 @@
|
||||
action.spawn = [
|
||||
"playerctl"
|
||||
"-i"
|
||||
"firefox,chromium"
|
||||
"firefox,chromium,zen"
|
||||
"next"
|
||||
];
|
||||
};
|
||||
@@ -177,7 +177,7 @@
|
||||
action.spawn = [
|
||||
"playerctl"
|
||||
"-i"
|
||||
"firefox,chromium"
|
||||
"firefox,chromium,zen"
|
||||
"previous"
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user