From d7de9190d6eafa934740278210ef442b73e285a8 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Tue, 15 Feb 2022 21:23:21 +0100 Subject: [PATCH 1/2] [Qutebrowser] Use HOSTNAME instead of HOST --- qutebrowser/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 19aec59..6b34591 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -527,7 +527,7 @@ c.fonts.default_family = 'JetBrains Mono' c.fonts.default_size = '12pt' # Setup for KeePassXC connection. -if os.getenv('HOST') == 'knuth': +if os.getenv('HOSTNAME') == 'knuth': config.bind('', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='insert') config.bind('pw', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='normal') else: From c3de93551182ea809082e5f44a0433f3b3b08424 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Tue, 15 Feb 2022 21:23:53 +0100 Subject: [PATCH 2/2] [StumpWM] After screen layout change it needs some (refresh-heads) --- stumpwm/stumpwmrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stumpwm/stumpwmrc b/stumpwm/stumpwmrc index 8e66990..c492b23 100644 --- a/stumpwm/stumpwmrc +++ b/stumpwm/stumpwmrc @@ -376,7 +376,9 @@ script." ((null selection) nil) (t (stringp (second selection)) - (run-shell-command (second selection))))))) + (run-shell-command (second selection)) + (refresh-heads) + (refresh-heads)))))) (pick (list-screen-layouts)))) (define-key *root-map* (kbd "l") "switch-screen-layout")