|
1 |
| -{ self, pkgs, ... }: |
| 1 | +{ pkgs, ... }: |
2 | 2 | let
|
3 | 3 | profile = "jacob.default";
|
4 | 4 | profileName = "jacob-default";
|
|
15 | 15 | imports = [
|
16 | 16 | ./blocking.nix
|
17 | 17 | # self.homeManagerModules.firefox-pwa
|
18 |
| - self.homeManagerModules.firefox-userchrome |
19 | 18 | ];
|
20 | 19 |
|
21 | 20 | # programs.firefox.pwa.enable = true;
|
22 | 21 |
|
23 |
| - # <https://github.com/QNetITQ/WaveFox> |
24 |
| - programs.firefox.userChrome.profiles.${profile} = { |
25 |
| - source = pkgs.wavefox; |
26 |
| - |
27 |
| - extraSettings = { |
28 |
| - "toolkit.legacyUserProfileCustomizations.stylesheets" = true; |
29 |
| - "svg.context-properties.content.enabled" = true; |
30 |
| - "gfx.webrender.all" = true; |
31 |
| - "browser.uidensity" = 1; |
32 |
| - # "ui.prefersReducedMotion" = 1; |
33 |
| - "browser.tabs.tabMinWidth" = 130; |
34 |
| - |
35 |
| - # slight rounding |
36 |
| - "userChrome.Tabs.Option8.Enabled" = true; |
37 |
| - |
38 |
| - # "browser.tabs.inTitlebar" = 1; # needed for transparency |
39 |
| - # "userChrome.Linux.Transparency.Low.Enabled" = true; |
40 |
| - # "userChrome.DarkTheme.Tabs.Shadows.Saturation.Low.Enabled" = true; |
41 |
| - # "userChrome.TabSeparators.Saturation.Medium.Enabled" = true; |
42 |
| - # "userChrome.Menu.Size.Compact.Enabled" = true; |
43 |
| - "WaveFox.Tabs.Shape" = 5; |
44 |
| - }; |
45 |
| - }; |
46 |
| - |
47 | 22 | programs.firefox.profiles.${profile} = {
|
48 | 23 | id = 0;
|
49 | 24 | isDefault = true;
|
50 | 25 | name = profileName;
|
51 | 26 |
|
| 27 | + # <https://github.com/QNetITQ/WaveFox> |
| 28 | + userChrome = pkgs.wavefox; |
| 29 | + |
52 | 30 | settings = {
|
| 31 | + "toolkit.legacyUserProfileCustomizations.stylesheets" = true; |
| 32 | + |
| 33 | + # Enable new WebRender everywhere. |
| 34 | + "gfx.webrender.all" = true; |
| 35 | + "svg.context-properties.content.enabled" = true; |
| 36 | + |
53 | 37 | # Hide the crap on the New Tab page.
|
54 | 38 | "browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
55 | 39 | "browser.newtabpage.activity-stream.feeds.topsites" = false;
|
56 | 40 | "trailhead.firstrun.didSeeAboutWelcome" = true;
|
57 | 41 |
|
| 42 | + "browser.uidensity" = 1; |
| 43 | + # "ui.prefersReducedMotion" = 1; |
| 44 | + "browser.tabs.tabMinWidth" = 130; |
| 45 | + |
58 | 46 | "devtools.chrome.enabled" = true;
|
59 | 47 | "devtools.debugger.remote-enabled" = true;
|
60 | 48 |
|
|
65 | 53 |
|
66 | 54 | # Fix for the close button being inline wth tabs.
|
67 | 55 | "browser.tabs.inTitlebar" = 0;
|
| 56 | + |
| 57 | + # WaveFox |
| 58 | + |
| 59 | + # slight rounding |
| 60 | + "userChrome.Tabs.Option8.Enabled" = true; |
| 61 | + |
| 62 | + # "browser.tabs.inTitlebar" = 1; # needed for transparency |
| 63 | + # "userChrome.Linux.Transparency.Low.Enabled" = true; |
| 64 | + # "userChrome.DarkTheme.Tabs.Shadows.Saturation.Low.Enabled" = true; |
| 65 | + # "userChrome.TabSeparators.Saturation.Medium.Enabled" = true; |
| 66 | + # "userChrome.Menu.Size.Compact.Enabled" = true; |
| 67 | + "WaveFox.Tabs.Shape" = 5; |
68 | 68 | };
|
69 | 69 |
|
70 | 70 | extensions = with extensions; [
|
|
0 commit comments