[Qutebrowser] Use HOSTNAME instead of HOST

This commit is contained in:
Marcel Kapfer 2022-02-15 21:23:21 +01:00
parent 566d771579
commit d7de9190d6
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -527,7 +527,7 @@ 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': if os.getenv('HOSTNAME') == 'knuth':
config.bind('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='insert') config.bind('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='insert')
config.bind('pw', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='normal') config.bind('pw', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='normal')
else: else: