clean up librewolf more, hide more title bars, include vscode config for notgne2
This commit is contained in:
parent
7bed334ae1
commit
aecd75e5a1
4 changed files with 116 additions and 18 deletions
|
@ -36,44 +36,56 @@ in
|
|||
|
||||
profiles.default =
|
||||
let
|
||||
base16Ify = lib.replaceStrings
|
||||
customize = lib.replaceStrings
|
||||
(if config.colors.enable then [
|
||||
"#19171a"
|
||||
"#201e21"
|
||||
"#dedede"
|
||||
".urlbarView {\n display: none !important;\n}"
|
||||
".tabbrowser-tab:not([pinned]) .tab-icon-image {\n display: none !important;\n}"
|
||||
] else [ ])
|
||||
(if config.colors.enable then [
|
||||
"#${config.colors.base16.base00}"
|
||||
"#${config.colors.base16.base01}"
|
||||
"#${config.colors.base16.base05}"
|
||||
""
|
||||
""
|
||||
] else [ ]);
|
||||
in
|
||||
{
|
||||
settings = {
|
||||
"browser.startup.homepage" = "https://wizbos.club";
|
||||
|
||||
# Make the browser usable, if I wanted autism privacy, I would use TOR browser.
|
||||
"privacy.resistFingerprinting" = false;
|
||||
"webgl.disabled" = false;
|
||||
"privacy.clearOnShutdown.history" = false;
|
||||
"privacy.clearOnShutdown.cookies" = false;
|
||||
"privacy.clearOnShutdown.sessions" = false;
|
||||
"privacy.clearOnShutdown.cache" = false;
|
||||
"places.history.enabled" = true;
|
||||
|
||||
# Make Jitsi work sanely
|
||||
"media.setsinkid.enabled" = true;
|
||||
"privacy.webrtc.legacyGlobalIndicator" = false;
|
||||
"privacy.webrtc.hideGlobalIndicator" = true;
|
||||
|
||||
# Required by SimpleFox, and good regardless
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"layers.acceleration.force-enabled" = true;
|
||||
"gfx.webrender.all" = true;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
|
||||
# Make Firefox dark, the reader is always light by default, and the GTK-inferred theme conflicts with SimpleFox (and our customizations)
|
||||
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
|
||||
"reader.color_scheme" = "dark";
|
||||
|
||||
# "general.useragent.override" = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0";
|
||||
# LibreWolf ruins the user agent making sites unusable without RFP, so use the user agent from RFP manually. This also seems sane for compatibility when using Firefox.
|
||||
"general.useragent.override" = "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0";
|
||||
};
|
||||
|
||||
userContent = base16Ify (builtins.readFile "${inputs.simplefox}/chrome/userContent.css");
|
||||
userChrome = base16Ify (builtins.readFile "${inputs.simplefox}/chrome/userChrome.css");
|
||||
userChrome = customize (builtins.readFile "${inputs.simplefox}/chrome/userChrome.css");
|
||||
userContent = builtins.readFile "${inputs.simplefox}/chrome/userContent.css";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -96,27 +108,17 @@ in
|
|||
gnomeExtensions.improved-workspace-indicator
|
||||
gnomeExtensions.vitals
|
||||
gnomeExtensions.clipboard-indicator
|
||||
# (gnomeExtensions.no-title-bar.overrideAttrs (old: {
|
||||
# src = builtins.fetchGit {
|
||||
# rev = "1e6647d1bf03559cd574f34aa2439b942cc94c60";
|
||||
# url = "git+ssh://git@github.com/poehlerj/no-title-bar.git";
|
||||
# };
|
||||
|
||||
# patches = old.patches ++ [
|
||||
# (pkgs.fetchurl {
|
||||
# url = "https://patch-diff.githubusercontent.com/raw/poehlerj/no-title-bar/pull/37.patch";
|
||||
# sha256 = "sha256-4gUv7U8mtSDQ2aSlVALxMpLvLWUcf0Gd8N2xIGQ4LGQ=";
|
||||
# })
|
||||
# ];
|
||||
# }))
|
||||
gnomeExtensions.gtk-title-bar
|
||||
gnomeExtensions.just-perfection
|
||||
gnomeExtensions.appindicator
|
||||
gnomeExtensions.compiz-windows-effect
|
||||
];
|
||||
|
||||
systemd.user.sessionVariables = {
|
||||
QT_QPA_PLATFORM = "wayland-egl;xcb";
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = lib.mkIf cfg.tiling "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
|
@ -202,6 +204,7 @@ in
|
|||
"just-perfection-desktop@just-perfection"
|
||||
"appindicatorsupport@rgcjonas.gmail.com"
|
||||
"launch-new-instance@gnome-shell-extensions.gcampax.github.com"
|
||||
"gtktitlebar@velitasali.github.io"
|
||||
];
|
||||
};
|
||||
"org/gnome/desktop/peripherals/touchpad" = {
|
||||
|
@ -211,6 +214,9 @@ in
|
|||
edge-tiling = !cfg.tiling;
|
||||
dynamic-workspaces = !cfg.tiling;
|
||||
};
|
||||
"org/gnome/shell/extensions/gtktitlebar" = {
|
||||
hide-window-titlebars = "always";
|
||||
};
|
||||
"org/gnome/shell/extensions/blur-me" = {
|
||||
toggle-app-blur = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue