feat(minion): add firefox sidebery customizations
I use sidebery on firefox, but sidebery is not best used without hiding
some existing firefox elements such as the original tab bar
Change-Id: I4b9af3df468e0bea92517d3bf7050c42535ad9fa
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/706
Reviewed-by: Skyler Grey <minion@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/home/users/minion/default.nix b/modules/home/users/minion/default.nix
index 677ed34..45f7530 100644
--- a/modules/home/users/minion/default.nix
+++ b/modules/home/users/minion/default.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ inputs, config, lib, pkgs, ... }:
{
options.chimera.minion.enable = lib.mkEnableOption "Enable Chimera options for minion";
@@ -102,6 +102,39 @@
config.nur.repos.rycee.firefox-addons.refined-github
];
};
+ programs.firefox.profiles.chimera.userChrome = ''
+ @import "${inputs.firefox-sidebery-gnome}/userChrome.css";
+
+ #TabsToolbar {
+ display: none;
+ }
+ #sidebar-header {
+ display: none;
+ }
+
+ /* Hide "Sign in to sync" */
+ #PanelUI-fxa-status {
+ display: none !important;
+ }
+ #appMenu-fxa-status2, #appMenu-fxa-separator {
+ display: none !important;
+ }
+ '';
+ programs.firefox.profiles.chimera.userContent = ''
+ @import "${inputs.firefox-sidebery-gnome}/userContent.css";
+
+ @-moz-document url("about:preferences") {
+ #category-sync { display:none!important; }
+ #category-more-from-mozilla { display:none!important; }
+ }
+ '';
+ programs.firefox.profiles.chimera.settings = {
+ "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
+ "svg.context-properties.content.enabled" = true;
+ "browser.uidensity" = 0;
+ "browser.theme.dark-private-windows" = false;
+ "widget.gtk.rounded-bottom-corners.enabled" = true;
+ };
chimera.shell = {
bash.enable = true;