all repos — dotfiles @ cc3dd5e1cfeaf649f46ff60e206009b4982b6b25

my *nix dotfiles

nix/programs/firefox.nix (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
{ config
, pkgs
, ...
}:


# XXX: Make sure to enable toolkit.legacyUserProfileCustomizations.stylesheets in about:config.
{
  programs.firefox = {
    enable = true;
    profiles = {
      icy = {
        isDefault = true;
        path = "34x366wc.default";
        userChrome = ''
          #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
            display: none;
          }

          #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
            opacity: 0;
            pointer-events: none;
          }
          #main-window:not([tabsintitlebar="true"]) #TabsToolbar {
              visibility: collapse !important;
          }
        '';
      };
    };
  };
}