[Qutebrowser] qute-keepassxc bindings according to host
'knuth' is my work machine
This commit is contained in:
parent
d043b0455c
commit
1423d33513
1 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
import os
|
||||
|
||||
# Autogenerated config.py
|
||||
# Documentation:
|
||||
# qute://help/configuring.html
|
||||
|
@ -525,8 +527,12 @@ c.fonts.default_family = 'JetBrains Mono'
|
|||
c.fonts.default_size = '12pt'
|
||||
|
||||
# Setup for KeePassXC connection.
|
||||
config.bind('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key 9FE01C39F74551D434116394CADE6F0C09F21B09', mode='insert')
|
||||
config.bind('pw', 'spawn --userscript qute-keepassxc --key 9FE01C39F74551D434116394CADE6F0C09F21B09', mode='normal')
|
||||
if os.getenv('HOST') == 'knuth':
|
||||
config.bind('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='insert')
|
||||
config.bind('pw', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='normal')
|
||||
else:
|
||||
config.bind('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key 9FE01C39F74551D434116394CADE6F0C09F21B09', mode='insert')
|
||||
config.bind('pw', 'spawn --userscript qute-keepassxc --key 9FE01C39F74551D434116394CADE6F0C09F21B09', mode='normal')
|
||||
|
||||
# Set Emacs as editor
|
||||
c.editor.command = ["es", "+{line}:{column0}", "{file}"]
|
||||
|
|
Loading…
Reference in a new issue