Skip to content

Commit

Permalink
Qutebrowser settings
Browse files Browse the repository at this point in the history
  • Loading branch information
giodamelio committed Jan 7, 2025
1 parent 28d1c6d commit c43a460
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/homeModules/qutebrowser.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{root, ...}: {
pkgs,
lib,
...
}: let
{root, ...}: {pkgs, ...}: let
myQutebrowser = root.packages.qutebrowser-tree-tabs {inherit pkgs;};
in {
programs.qutebrowser = {
Expand All @@ -13,22 +9,18 @@ in {
then myQutebrowser
else pkgs.git;

settings = let
mkPadding = bottom: left: right: top: {
__isDict = true;
inherit bottom left right top;
};
in {
colors.webpage.darkmode.enabled = true;
settings = {
# This doesn't just set the preference...
colors.webpage.darkmode.enabled = false;
fonts.default_size = "14pt";
hints = {
mode = "letter";
padding = mkPadding 3 3 3 3;
# padding = mkPadding 3 3 3 3;
scatter = true;
uppercase = false;
};
tabs = {
padding = mkPadding 1 5 5 1;
# padding = mkPadding 1 5 5 1;
position = "right";
show = "always";

Expand Down Expand Up @@ -67,4 +59,11 @@ in {
"aws secrets manager" = "https://us-east-1.console.aws.amazon.com/secretsmanager/listsecrets?region=us-east-1";
};
};

# Install some dependencies for userscripts
home.packages = with pkgs; [
# For qute-bitwarden
keyutils # To manipulate clipboard
wofi # For fuzzy selection
];
}

0 comments on commit c43a460

Please sign in to comment.