Skip to content

Commit

Permalink
qutebrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Feb 4, 2025
1 parent 271c53f commit 8975832
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 2 deletions.
31 changes: 29 additions & 2 deletions catppuccin.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ self, lib, ... }:
{
self,
lib,
inputs,
...
}:
let
flavor = "mocha";
in
Expand Down Expand Up @@ -35,9 +40,31 @@ in
# IFD
swaylock.enable = false;
mako.enable = false;

};

xdg.configFile."qutebrowser/catppuccin" = {
recursive = true;
source = inputs.catppuccin-qutebrowser;
};

programs = {
qutebrowser.extraConfig = ''
import catppuccin
catppuccin.setup(
c,
'${flavor}',
# (default is False) enable the plain look for the menu rows
False
)
'';
qutebrowser.settings = {
colors.webpage.preferred_color_scheme = "dark";
};

chromium.extensions = [ { id = "bkkmolkhemgaeaeggcmfbghljjjoofoh"; } ];
};

programs.chromium.extensions = [ { id = "bkkmolkhemgaeaeggcmfbghljjjoofoh"; } ];
gtk.gtk2.extraConfig = ''
gtk-theme-name="Adwaita-dark"
'';
Expand Down
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};

catppuccin-qutebrowser = {
flake = false;
url = "github:catppuccin/qutebrowser";
};

cpu-microcodes = {
flake = false;
url = "github:platomav/CPUMicrocodes";
Expand Down
5 changes: 5 additions & 0 deletions home-manager-modules/qutebrowser.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
programs.qutebrowser = {
enable = true;
};
}

0 comments on commit 8975832

Please sign in to comment.