c.content.headers.custom = {'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}
{% endif %}
-config.bind(',zl', "spawn --userscript qute-pass --dmenu-invocation 'rofi -dmenu'")
-config.bind(',zul', "spawn --userscript qute-pass --dmenu-invocation 'rofi -dmenu' --username-only")
-config.bind(',zpl', "spawn --userscript qute-pass --dmenu-invocation 'rofi -dmenu' --password-only")
-config.bind(',zol', "spawn --userscript qute-pass --dmenu-invocation 'rofi -dmenu' --otp-only")
-
-config.bind(',bl', 'spawn --userscript qute-bitwarden --auto-lock 14400 --dmenu-invocation "rofi -dmenu"')
-config.bind(',bul', 'spawn --userscript qute-bitwarden --auto-lock 14400 --dmenu-invocation "rofi -dmenu" --username-only')
-config.bind(',bpl', 'spawn --userscript qute-bitwarden --auto-lock 14400 --dmenu-invocation "rofi -dmenu" --password-only')
-config.bind(',bol', 'spawn --userscript qute-bitwarden --auto-lock 14400 --dmenu-invocation "rofi -dmenu" --totp-only')
+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(',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')
+config.bind(',bpl', 'spawn --userscript qute-bitwarden-work --auto-lock 14400 --dmenu-invocation "rofi -dmenu" --password-only')
+config.bind(',bol', 'spawn --userscript qute-bitwarden-work --auto-lock 14400 --dmenu-invocation "rofi -dmenu" --totp-only')
config.bind(',s', 'set tabs.show always')
config.bind(',h', 'set tabs.show switching')
- require:
- pkg: install qutebrowser
-symlink qute-pass:
- file.symlink:
- - name: {{ grains['homedir'] }}/.local/share/qutebrowser/userscripts/qute-pass
- - target: /usr/share/qutebrowser/userscripts/qute-pass
- - user: {{ grains['user'] }}
- - group: {{ grains['user'] }}
- - mode: 750
- - require:
- - file: userscripts dir
-
noscript_enable file:
file.managed:
- name: {{ grains['homedir'] }}/.local/share/qutebrowser/userscripts/noscript_enable
- require:
- file: userscripts dir
+qute-bitwarden-personal file:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.local/share/qutebrowser/userscripts/qute-bitwarden-personal
+ - source: salt://qutebrowser/files/qute-bitwarden-personal
+ - user: {{ grains['user'] }}
+ - groups: {{ grains['user'] }}
+ - mode: 750
+ - require:
+ - file: userscripts dir
+
+qute-bitwarden-work file:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.local/share/qutebrowser/userscripts/qute-bitwarden-work
+ - source: salt://qutebrowser/files/qute-bitwarden-work
+ - user: {{ grains['user'] }}
+ - groups: {{ grains['user'] }}
+ - mode: 750
+ - require:
+ - file: userscripts dir
+
qutebrowser wrapper:
file.managed:
- name: {{ grains['homedir'] }}/.local/bin/qutebrowser