diff --git a/qutebrowser/config.py b/qutebrowser/config.py index e7a17b0..19aec59 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -1,3 +1,5 @@ +import os + # Autogenerated config.py # Documentation: # qute://help/configuring.html @@ -148,7 +150,7 @@ c.tabs.padding = {'bottom': 3, 'left': 5, 'right': 5, 'top': 3} # - bottom # - left # - right -c.tabs.position = 'left' +c.tabs.position = 'top' # Width (in pixels or as percentage of the window) of the tab bar if # it's vertical. @@ -525,8 +527,12 @@ c.fonts.default_family = 'JetBrains Mono' c.fonts.default_size = '12pt' # Setup for KeePassXC connection. -config.bind('', '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('', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='insert') + config.bind('pw', 'spawn --userscript qute-keepassxc --key CBE2FD999353DFA90822A2FAD61E7E81C796B99E', mode='normal') +else: + config.bind('', '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}"] diff --git a/stumpwm/stumpwmrc b/stumpwm/stumpwmrc index ca72c41..1062c5d 100644 --- a/stumpwm/stumpwmrc +++ b/stumpwm/stumpwmrc @@ -363,36 +363,25 @@ script." (define-frame-preference "winkel" (0 nil t :class "keepassxc") (0 nil t :class "Nextcloud") - (0 nil t :class "TelegramDesktop")) + (0 nil t :class "TelegramDesktop") + (0 nil t :class "Microsoft Teams - Preview")) (define-frame-preference "web" + (0 nil t :class "qutebrowser") (0 nil t :class "Firefox")) (define-frame-preference "music" (0 nil t :class "Spotify")) -;; autostart programs - -;; emacs -(run-shell-command "emacs") - -;; keepassxc -(run-shell-command "keepassxc-wrapper") - -;; owncloud -(run-shell-command "nextcloud") - -;; web browser -(run-shell-command *web-browser*) - -;; redshift -(run-shell-command "redshift") +;; Start NetworkManager systray applet +(run-shell-command "nm-applet") ;; last settings (stumptray:stumptray) (switch-layout-to *key-layout*) +(run-shell-command "xsetroot -cursor_name left_ptr") (run-shell-command "xmodmap $HOME/.Xmodmap" t) ;; Local Variables: