1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

feat: move to Zen Browser

This commit is contained in:
RGBCube 2025-04-03 16:07:11 +03:00
parent 25d008fc47
commit aa3e042283
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
5 changed files with 4 additions and 32 deletions

View file

@ -102,7 +102,7 @@ do -- HOTKEYS
hs.hotkey.bind(super_ctrl, "f", PaperWM.actions.full_width)
hs.hotkey.bind(super, "f", PaperWM.actions.toggle_floating)
hs.hotkey.bind(super, "w", function() hs.application.launchOrFocus("Firefox") end)
hs.hotkey.bind(super, "w", function() hs.application.launchOrFocus("Zen") end)
hs.hotkey.bind(super, "return", function() hs.application.launchOrFocus("Ghostty") end)
hs.hotkey.bind(super, "t", function() hs.application.launchOrFocus("Finder") end)

View file

@ -1,28 +0,0 @@
{ config, lib, ... }: let
inherit (lib) enabled merge mkIf;
in merge <| mkIf config.isDesktop {
home-manager.sharedModules = [{
programs.firefox = enabled {
profiles.default = {
settings = with config.theme.font; {
"general.autoScroll" = true;
"privacy.donottrackheader.enabled" = true;
"browser.fixup.domainsuffixwhitelist.idk" = true;
"font.name.serif.x-western" = sans.name;
"font.size.variable.x-western" = builtins.ceil (1.3 * size.normal);
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};
userChrome = /* css */ ''
#TabsToolbar {
visibility: collapse;
}
'';
};
};
}];
}

View file

@ -153,7 +153,7 @@ in merge <| mkIf config.isDesktop {
"SUPER+SHIFT, RETURN, exec, kitty"
"SUPER , RETURN, exec, ghostty --gtk-single-instance=true"
"SUPER , W , exec, firefox"
"SUPER , W , exec, zen-beta"
"SUPER , D , exec, discord"
"SUPER , Z , exec, zulip"
"SUPER , M , exec, thunderbird"

View file

@ -36,7 +36,7 @@ in merge <| mkIf config.isDesktop {
separate-outputs = true;
rewrite."(.*) - Discord" = "󰙯$1";
rewrite."(.*) Mozilla Firefox" = "󰖟$1";
rewrite."(.*) Zen" = "󰖟$1";
rewrite."(.*) nu" = "$1";
};

View file

@ -4,7 +4,7 @@
# Shorter is better for networking interfaces IMO.
interface = "ts0";
in {
# This doesn't work with dig but works with curl, Firefox
# This doesn't work with dig but works with curl, Zen
# and all other tools. Skill issue.
services.resolved.domains = [ "warthog-major.ts.net" ];