Compare commits

...

6 Commits

Author SHA1 Message Date
Marcel Kapfer 1423d33513
[Qutebrowser] qute-keepassxc bindings according to host
'knuth' is my work machine
2022-02-15 20:16:30 +01:00
Marcel Kapfer d043b0455c
[StumpWM] Set the cursor to something actually usable 2022-02-15 20:09:13 +01:00
Marcel Kapfer 45a0e0323f
[StumpWM] Remove autostart programs
Were commented out over the last months anyway
2022-02-15 20:08:13 +01:00
Marcel Kapfer 12f76ca0df
[StumpWM] Add frame preference for Qutebrowser 2022-02-15 20:07:29 +01:00
Marcel Kapfer 6f74f799d5
[StumpWM] Add frame preference for Microsoft Teams 2022-02-15 20:07:13 +01:00
Marcel Kapfer b5049bb988
[Qutebrowser] Tabs on top 2022-02-15 20:06:04 +01:00
2 changed files with 15 additions and 20 deletions

View File

@ -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('<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}"]

View File

@ -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: