1
0
Fork 0
forked from lukas/nixos-config
nixos-config/home/tnix/localModules/qutebrowser.nix
2025-10-19 13:39:32 +02:00

44 lines
1.5 KiB
Nix

{pkgs, lib, ...}:
{
programs.qutebrowser = {
enable = true;
# package = stable.qutebrowser;
settings = {
# fonts = {
# default_family = "FreeMono";
# default_size = "11pt";
# web = {
# family = {
# standard = "FreeMono";
# fixed = "FreeMono";
# serif = "FreeMono";
# sans_serif = "FreeMono";
# cursive = "FreeMono";
# fantasy = "FreeMono";
# };
# };
# };
};
keyBindings= {
normal = {
"gd" = "config-cycle colors.webpage.darkmode.enabled True False";
"gl" = "config-cycle colors.webpage.preferred_color_scheme light dark";
#"<f1>" = "config-cycle tabs.show never always ;; config-cycle statusbar.show in-mode always ;; config-cycle scrolling.bar never always";
"<Space>ll" = "spawn --userscript qute-keepass --totp";
"<Space>lu" = "spawn --userscript qute-keepass -d \"dmenu -i -l 10\" -p ~/juno/database";
"<Space>lp" = "spawn --userscript qute-keepass --password-fill-only -p ~/juno/database";
"<f1>" = lib.mkMerge [
"config-cycle tabs.show never always"
"config-cycle statusbar.show in-mode always"
"config-cycle scrolling.bar never always"
];
};
};
greasemonkey = [
(pkgs.fetchurl {
url = "https://raw.githubusercontent.com/afreakk/greasemonkeyscripts/1d1be041a65c251692ee082eda64d2637edf6444/youtube_sponsorblock.js";
sha256 = "sha256-e3QgDPa3AOpPyzwvVjPQyEsSUC9goisjBUDMxLwg8ZE=";
})
];
};
}