diff options
Diffstat (limited to 'home/profiles/browsing/default.nix')
-rw-r--r-- | home/profiles/browsing/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home/profiles/browsing/default.nix b/home/profiles/browsing/default.nix index 5c04438..6a59d1b 100644 --- a/home/profiles/browsing/default.nix +++ b/home/profiles/browsing/default.nix @@ -3,6 +3,8 @@ let cfg = config.profiles.browsing; fixSopsPrefix = x: y: builtins.replaceStrings [ "%r" ] [ "/run/user/${toString x}" ] y; + + bemenuPrompt = "${pkgs.bemenu}/bin/bemenu -H 18 -l 5 -c -W 0.4 -B 3"; in { options.profiles.browsing = { @@ -43,6 +45,12 @@ in sourcehut = "https://sr.ht"; }; + keyBindings = { + normal = { + "<Ctrl+L>" = "spawn --userscript qute-bitwarden -d='${bemenuPrompt} -p \"Bitwarden\"' -p='${bemenuPrompt} -p \"Bitwarden Master Passphrase Entry\" --password'"; + }; + }; + settings = import ./qutebrowser-settings.nix // { url.default_page = "https://kagi.com"; |