Quellcode durchsuchen

Move qutebrowser config to autoconfig.yml

Alois Mahdal vor 10 Monaten
Ursprung
Commit
f46a9ec936
2 geänderte Dateien mit 40 neuen und 6 gelöschten Zeilen
  1. 38
    0
      dotfiles/config/qutebrowser/autoconfig.yml
  2. 2
    6
      dotfiles/config/qutebrowser/config.py

+ 38
- 0
dotfiles/config/qutebrowser/autoconfig.yml Datei anzeigen

@@ -0,0 +1,38 @@
1
+# If a config.py file exists, this file is ignored unless it's explicitly loaded
2
+# via config.load_autoconfig(). For more information, see:
3
+# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
4
+# DO NOT edit this file by hand, qutebrowser will overwrite it.
5
+# Instead, create a config.py - see :help for details.
6
+
7
+config_version: 2
8
+settings:
9
+  bindings.commands:
10
+    global:
11
+      normal:
12
+        '1': zoom 100
13
+        '2': zoom 150
14
+        T: '!twinner'
15
+        b: back
16
+        m: forward
17
+        yY: yank
18
+        yy: yank -s
19
+  colors.webpage.darkmode.enabled:
20
+    global: true
21
+  content.geolocation:
22
+    https://finishlibrary.steelcase.com: false
23
+    https://jobs.thermofisher.com: false
24
+  content.javascript.enabled:
25
+    global: true
26
+  content.mouse_lock:
27
+    https://app.kosmi.io: true
28
+  content.notifications.enabled:
29
+    https://app.kosmi.io: true
30
+    https://bach.events: false
31
+    https://chat.google.com: true
32
+    https://lemmy.world: false
33
+    https://nc.vornet.cz: false
34
+  content.register_protocol_handler:
35
+    https://calendar.google.com?cid=%25s: false
36
+    https://mail.google.com?extsrc=mailto&url=%25s: false
37
+    https://urbit.vornet.cz?ext=%25s: true
38
+    https://webmail.migadu.com?mailto&to=%25s: false

+ 2
- 6
dotfiles/config/qutebrowser/config.py Datei anzeigen

@@ -1,8 +1,4 @@
1
+config.load_autoconfig()
1 2
 c.tabs.tabs_are_windows = True
2 3
 c.scrolling.bar = 'always'
3
-config.bind('yY', 'yank')
4
-config.bind('yy', 'yank -s')
5
-config.bind('b', 'back')
6
-config.bind('m', 'forward')
7
-config.bind('1', 'zoom 100')
8
-config.bind('2', 'zoom 150')
4
+c.qt.args = ["auth-server-whitelist=*fedoraproject.org"]