Compare commits
6 Commits
5dc0ddbf1d
...
1423d33513
Author | SHA1 | Date |
---|---|---|
Marcel Kapfer | 1423d33513 | |
Marcel Kapfer | d043b0455c | |
Marcel Kapfer | 45a0e0323f | |
Marcel Kapfer | 12f76ca0df | |
Marcel Kapfer | 6f74f799d5 | |
Marcel Kapfer | b5049bb988 |
|
@ -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}"]
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue