]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Fix the qutebrowser/bitwarden integration
authorMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Thu, 4 May 2023 12:23:26 +0000 (13:23 +0100)
committerMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Thu, 4 May 2023 12:23:26 +0000 (13:23 +0100)
states/qutebrowser/files/config.py
states/qutebrowser/files/qute-bitwarden-personal
states/qutebrowser/files/qute-bitwarden-work

index 78ebb763f7abb25b9c057e6303feb6bb58dfee4a..60d518f9935f2ba8eb9052456f95d1d5f696b8b5 100644 (file)
@@ -27,9 +27,9 @@ c.content.headers.custom = {'accept': 'text/html,application/xhtml+xml,applicati
 {% endif %}
 
 config.bind(',zl', "spawn --userscript qute-bitwarden-personal --auto-lock 14400 --dmenu-invocation 'rofi -dmenu'")
-config.bind(',zul', "spawn --userscript qute-bitwarden-personal --auto-lock 14400--dmenu-invocation 'rofi -dmenu' --username-only")
-config.bind(',zpl', "spawn --userscript qute-bitwarden-personal --auto-lock 14400--dmenu-invocation 'rofi -dmenu' --password-only")
-config.bind(',zol', "spawn --userscript qute-bitwarden-personal --auto-lock 14400--dmenu-invocation 'rofi -dmenu' --totp-only")
+config.bind(',zul', "spawn --userscript qute-bitwarden-personal --auto-lock 14400 --dmenu-invocation 'rofi -dmenu' --username-only")
+config.bind(',zpl', "spawn --userscript qute-bitwarden-personal --auto-lock 14400 --dmenu-invocation 'rofi -dmenu' --password-only")
+config.bind(',zol', "spawn --userscript qute-bitwarden-personal --auto-lock 14400 --dmenu-invocation 'rofi -dmenu' --totp-only")
 
 config.bind(',bl', 'spawn --userscript qute-bitwarden-work --auto-lock 14400 --dmenu-invocation "rofi -dmenu"')
 config.bind(',bul', 'spawn --userscript qute-bitwarden-work --auto-lock 14400 --dmenu-invocation "rofi -dmenu" --username-only')
index 139118306187a45084fe1fb16f5ecd0c94c84af7..7f4b62a01211c645ee06abe9344a1f92fd147dc2 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
 
-BITWARDEN_APPDATA_DIR=~/.config/bitwarden_personal /usr/share/qutebrowser/userscripts/qute-bitwarden "$@"
+ln -sf bitwarden_personal "$HOME/.config/Bitwarden CLI"
+/usr/share/qutebrowser/userscripts/qute-bitwarden "$@"
index 4c15547f5f1ad69a0caee19af1a2798d9f287b8a..1d68003ddcc3abfc5d776c706db2b0eb55769bc4 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
 
-BITWARDEN_APPDATA_DIR=~/.config/bitwarden_work /usr/share/qutebrowser/userscripts/qute-bitwarden "$@"
+ln -sf bitwarden_work "$HOME/.config/Bitwarden CLI"
+/usr/share/qutebrowser/userscripts/qute-bitwarden "$@"