[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
|
# Autogenerated config.py
|
||||||
# Documentation:
|
# Documentation:
|
||||||
# qute://help/configuring.html
|
# qute://help/configuring.html
|
||||||
|
@ -525,6 +527,10 @@ c.fonts.default_family = 'JetBrains Mono'
|
||||||
c.fonts.default_size = '12pt'
|
c.fonts.default_size = '12pt'
|
||||||
|
|
||||||
# Setup for KeePassXC connection.
|
# Setup for KeePassXC connection.
|
||||||
|
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('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key 9FE01C39F74551D434116394CADE6F0C09F21B09', mode='insert')
|
||||||
config.bind('pw', 'spawn --userscript qute-keepassxc --key 9FE01C39F74551D434116394CADE6F0C09F21B09', mode='normal')
|
config.bind('pw', 'spawn --userscript qute-keepassxc --key 9FE01C39F74551D434116394CADE6F0C09F21B09', mode='normal')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue