diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/profiles/browsing/default.nix | 8 | ||||
-rw-r--r-- | home/profiles/gui/config/sway.nix | 3 | ||||
-rw-r--r-- | home/profiles/security/default.nix | 3 |
3 files changed, 14 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"; diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix index 5dbe7a7..d5e0704 100644 --- a/home/profiles/gui/config/sway.nix +++ b/home/profiles/gui/config/sway.nix @@ -14,6 +14,9 @@ in # HACK: https://todo.sr.ht/~emersion/kanshi/35 exec_always "systemctl --user restart kanshi.service" + # Link keychain: https://github.com/systemd/systemd/issues/5522#issuecomment-309226589 + exec [ -x "$(command -v keyctl)" ] && keyctl link @u @s + # set modifiers set $mod Mod4 set $alt Mod1 diff --git a/home/profiles/security/default.nix b/home/profiles/security/default.nix index d1df23e..1df0dec 100644 --- a/home/profiles/security/default.nix +++ b/home/profiles/security/default.nix @@ -14,6 +14,9 @@ in pkgs.keepassxc pkgs.bitwarden + pkgs.bitwarden-cli + + pkgs.keyutils ]; }; } |