Browse Source

Import files

master
Peter J. Jones 2 years ago
commit
f47499eaf4
Signed by: Peter Jones <pjones@devalot.com> GPG Key ID: 9DAFAA8D01941E49
5 changed files with 1431 additions and 0 deletions
  1. 23
    0
      GNUmakefile
  2. 26
    0
      LICENSE
  3. 0
    0
      README.md
  4. 696
    0
      config/keys.conf
  5. 686
    0
      config/qutebrowser.conf

+ 23
- 0
GNUmakefile View File

@@ -0,0 +1,23 @@
1
+################################################################################
2
+DESTDIR ?= $(HOME)/.config/qutebrowser
3
+SOURCES  = $(shell find config -type f)
4
+
5
+################################################################################
6
+.PHONEY: all install
7
+
8
+################################################################################
9
+all:
10
+	$(MAKE) install
11
+
12
+################################################################################
13
+# $1: Local file name
14
+# $2: Destination directory
15
+define INSTALL_FILE
16
+install: $(2)/$(notdir $(1))
17
+$(2)/$(notdir $(1)): $(1)
18
+	@ mkdir -p `dirname $$@`
19
+	install -m 0644 $$< $$@
20
+endef
21
+
22
+################################################################################
23
+$(foreach f,$(SOURCES),$(eval $(call INSTALL_FILE,$(f),$(DESTDIR))))

+ 26
- 0
LICENSE View File

@@ -0,0 +1,26 @@
1
+Copyright (c) 2017, Peter J. Jones <pjones@devalot.com>
2
+All rights reserved.
3
+
4
+Redistribution and use in source and binary forms, with or without
5
+modification, are permitted provided that the following conditions are
6
+met:
7
+
8
+1. Redistributions of source code must retain the above copyright
9
+   notice, this list of conditions and the following disclaimer.
10
+
11
+2. Redistributions in binary form must reproduce the above copyright
12
+   notice, this list of conditions and the following disclaimer in the
13
+   documentation and/or other materials provided with the
14
+   distribution.
15
+
16
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 0
- 0
README.md View File


+ 696
- 0
config/keys.conf View File

@@ -0,0 +1,696 @@
1
+# vim: ft=conf
2
+#
3
+# In this config file, qutebrowser's key bindings are configured.
4
+# The format looks like this:
5
+#
6
+# [keymode]
7
+#
8
+# command
9
+#   keychain
10
+#   keychain2
11
+#   ...
12
+#
13
+# All blank lines and lines starting with '#' are ignored.
14
+# Inline-comments are not permitted.
15
+#
16
+# keymode is a comma separated list of modes in which the key binding should be
17
+# active. If keymode starts with !, the key binding is active in all modes
18
+# except the listed modes.
19
+#
20
+# For special keys (can't be part of a keychain), enclose them in `<`...`>`.
21
+# For modifiers, you can use either `-` or `+` as delimiters, and these names:
22
+#
23
+#  * Control: `Control`, `Ctrl`
24
+#  * Meta:    `Meta`, `Windows`, `Mod4`
25
+#  * Alt:     `Alt`, `Mod1`
26
+#  * Shift:   `Shift`
27
+#
28
+# For simple keys (no `<>`-signs), a capital letter means the key is pressed
29
+# with Shift. For special keys (with `<>`-signs), you need to explicitly add
30
+# `Shift-` to match a key pressed with shift.
31
+#
32
+# Note that default keybindings are always bound, and need to be explicitly
33
+# unbound if you wish to remove them:
34
+#
35
+# <unbound>
36
+#   keychain
37
+#   keychain2
38
+#   ...
39
+
40
+[!normal]
41
+
42
+leave-mode
43
+    <escape>
44
+    <ctrl-[>
45
+    <ctrl-g>
46
+
47
+[normal]
48
+# Keybindings for normal mode.
49
+
50
+clear-keychain ;; search ;; fullscreen --leave
51
+    <escape>
52
+    <ctrl-[>
53
+    <ctrl-g>
54
+
55
+set-cmd-text -s :open
56
+    o
57
+
58
+set-cmd-text :open {url:pretty}
59
+    go
60
+
61
+set-cmd-text -s :open -t
62
+    O
63
+
64
+set-cmd-text :open -t -i {url:pretty}
65
+    gO
66
+
67
+set-cmd-text -s :open -b
68
+    xo
69
+
70
+set-cmd-text :open -b -i {url:pretty}
71
+    xO
72
+
73
+set-cmd-text -s :open -w
74
+    wo
75
+
76
+set-cmd-text :open -w {url:pretty}
77
+    wO
78
+
79
+set-cmd-text /
80
+    /
81
+
82
+set-cmd-text ?
83
+    ?
84
+
85
+set-cmd-text :
86
+    :
87
+
88
+open -t
89
+    ga
90
+
91
+open -w
92
+     gw
93
+
94
+tab-close
95
+    q
96
+
97
+tab-close -o
98
+    D
99
+
100
+tab-only
101
+    co
102
+
103
+tab-focus
104
+    T
105
+
106
+tab-move
107
+    gm
108
+
109
+tab-move -
110
+    gl
111
+
112
+tab-move +
113
+    gr
114
+
115
+tab-next
116
+    J
117
+    <ctrl-pgdown>
118
+
119
+tab-prev
120
+    K
121
+    <ctrl-pgup>
122
+
123
+tab-clone
124
+    gC
125
+
126
+reload
127
+    r
128
+    <f5>
129
+
130
+reload -f
131
+    R
132
+    <ctrl-f5>
133
+
134
+back
135
+    b
136
+    <back>
137
+
138
+back -t
139
+    th
140
+
141
+back -w
142
+    wh
143
+
144
+forward
145
+    L
146
+    <forward>
147
+
148
+forward -t
149
+    tl
150
+
151
+forward -w
152
+    wl
153
+
154
+fullscreen
155
+    <f11>
156
+
157
+hint
158
+    f
159
+
160
+hint all tab
161
+    F
162
+
163
+hint all window
164
+    wf
165
+
166
+hint all tab-bg
167
+    ;b
168
+
169
+hint all tab-fg
170
+    ;f
171
+
172
+hint all hover
173
+    ;h
174
+
175
+hint images
176
+    ;i
177
+
178
+hint images tab
179
+    ;I
180
+
181
+hint links fill :open {hint-url}
182
+    ;o
183
+
184
+hint links fill :open -t -i {hint-url}
185
+    ;O
186
+
187
+hint links yank
188
+    ;y
189
+
190
+hint links yank-primary
191
+    ;Y
192
+
193
+hint --rapid links tab-bg
194
+    ;r
195
+
196
+hint --rapid links window
197
+    ;R
198
+
199
+hint links download
200
+    ;d
201
+
202
+hint inputs
203
+    ;t
204
+
205
+scroll left
206
+    h
207
+    <ctrl-f>
208
+
209
+scroll down
210
+    j
211
+    <ctrl-n>
212
+
213
+scroll up
214
+    k
215
+    <ctrl-p>
216
+
217
+scroll right
218
+    l
219
+    <ctrl-b>
220
+
221
+undo
222
+    u
223
+    <ctrl-shift-t>
224
+
225
+scroll-perc 0
226
+    gg
227
+
228
+scroll-perc
229
+    G
230
+
231
+search-next
232
+    n
233
+
234
+search-prev
235
+    N
236
+
237
+enter-mode insert
238
+    i
239
+
240
+enter-mode caret
241
+    v
242
+
243
+enter-mode set_mark
244
+    `
245
+
246
+enter-mode jump_mark
247
+    '
248
+
249
+yank
250
+    yy
251
+    <alt-w>
252
+
253
+yank -s
254
+    yY
255
+
256
+yank title
257
+    yt
258
+
259
+yank title -s
260
+    yT
261
+
262
+yank domain
263
+    yd
264
+
265
+yank domain -s
266
+    yD
267
+
268
+yank pretty-url
269
+    yp
270
+
271
+yank pretty-url -s
272
+    yP
273
+
274
+open -- {clipboard}
275
+    pp
276
+
277
+open -- {primary}
278
+    pP
279
+
280
+open -t -- {clipboard}
281
+    Pp
282
+
283
+open -t -- {primary}
284
+    PP
285
+
286
+open -w -- {clipboard}
287
+    wp
288
+
289
+open -w -- {primary}
290
+    wP
291
+
292
+quickmark-save
293
+    m
294
+
295
+set-cmd-text -s :quickmark-load
296
+    ml
297
+
298
+set-cmd-text -s :quickmark-load -t
299
+    mL
300
+
301
+set-cmd-text -s :quickmark-load -w
302
+    wb
303
+
304
+bookmark-add
305
+    M
306
+
307
+set-cmd-text -s :bookmark-load
308
+    gb
309
+
310
+set-cmd-text -s :bookmark-load -t
311
+    gB
312
+
313
+set-cmd-text -s :bookmark-load -w
314
+    wB
315
+
316
+save
317
+    sf
318
+
319
+set-cmd-text -s :set
320
+    ss
321
+
322
+set-cmd-text -s :set -t
323
+    sl
324
+
325
+set-cmd-text -s :bind
326
+    sk
327
+
328
+zoom-out
329
+    -
330
+
331
+zoom-in
332
+    +
333
+
334
+zoom
335
+    =
336
+
337
+navigate prev
338
+    [[
339
+
340
+navigate next
341
+    ]]
342
+
343
+navigate prev -t
344
+    {{
345
+
346
+navigate next -t
347
+    }}
348
+
349
+navigate up
350
+    gu
351
+
352
+navigate up -t
353
+    gU
354
+
355
+navigate increment
356
+    ni
357
+
358
+navigate decrement
359
+    nd
360
+
361
+inspector
362
+    wi
363
+
364
+download
365
+    gd
366
+
367
+download-cancel
368
+    ad
369
+
370
+download-clear
371
+    cd
372
+
373
+view-source
374
+    gf
375
+
376
+set-cmd-text -s :buffer
377
+    gt
378
+
379
+tab-focus last
380
+    <ctrl-tab>
381
+
382
+enter-mode passthrough
383
+
384
+quit
385
+    <ctrl-q>
386
+
387
+scroll-page 0 1
388
+    <ctrl-v>
389
+
390
+scroll-page 0 -1
391
+    <alt-v>
392
+
393
+scroll-page 0 0.5
394
+    <ctrl-d>
395
+
396
+scroll-page 0 -0.5
397
+    <ctrl-u>
398
+
399
+tab-focus 1
400
+    <alt-1>
401
+
402
+tab-focus 2
403
+    <alt-2>
404
+
405
+tab-focus 3
406
+    <alt-3>
407
+
408
+tab-focus 4
409
+    <alt-4>
410
+
411
+tab-focus 5
412
+    <alt-5>
413
+
414
+tab-focus 6
415
+    <alt-6>
416
+
417
+tab-focus 7
418
+    <alt-7>
419
+
420
+tab-focus 8
421
+    <alt-8>
422
+
423
+tab-focus 9
424
+    <alt-9>
425
+
426
+home
427
+    <ctrl-h>
428
+
429
+stop
430
+    <ctrl-s>
431
+
432
+print
433
+    <ctrl-alt-p>
434
+
435
+open qute:settings
436
+    Ss
437
+
438
+follow-selected
439
+    <return>
440
+    <ctrl-m>
441
+    <ctrl-j>
442
+    <shift-return>
443
+    <enter>
444
+    <shift-enter>
445
+
446
+follow-selected -t
447
+    <ctrl-return>
448
+    <ctrl-enter>
449
+
450
+repeat-command
451
+    .
452
+
453
+record-macro
454
+    mr
455
+
456
+run-macro
457
+    @
458
+
459
+[insert]
460
+# Keybindings for insert mode.
461
+# Since normal keypresses are passed through, only special keys are
462
+# supported in this mode.
463
+# Useful hidden commands to map in this section:
464
+#  * `open-editor`: Open a texteditor with the focused field.
465
+#  * `paste-primary`: Paste primary selection at cursor position.
466
+
467
+open-editor
468
+    <ctrl-i>
469
+
470
+insert-text {primary}
471
+    <shift-ins>
472
+
473
+[hint]
474
+# Keybindings for hint mode.
475
+# Since normal keypresses are passed through, only special keys are
476
+# supported in this mode.
477
+# Useful hidden commands to map in this section:
478
+#  * `follow-hint`: Follow the currently selected hint.
479
+
480
+follow-hint
481
+    <return>
482
+    <ctrl-m>
483
+    <ctrl-j>
484
+    <shift-return>
485
+    <enter>
486
+    <shift-enter>
487
+
488
+hint --rapid links tab-bg
489
+    <ctrl-r>
490
+
491
+hint links
492
+    <ctrl-f>
493
+
494
+hint all tab-bg
495
+    <ctrl-b>
496
+
497
+[command]
498
+# Keybindings for command mode.
499
+# Since normal keypresses are passed through, only special keys are
500
+# supported in this mode.
501
+# Useful hidden commands to map in this section:
502
+#  * `command-history-prev`: Switch to previous command in history.
503
+#  * `command-history-next`: Switch to next command in history.
504
+#  * `completion-item-focus`: Select another item in completion.
505
+#  * `command-accept`: Execute the command currently in the commandline.
506
+
507
+command-history-prev
508
+    <ctrl-p>
509
+
510
+command-history-next
511
+    <ctrl-n>
512
+
513
+completion-item-focus prev
514
+    <shift-tab>
515
+    <up>
516
+
517
+completion-item-focus next
518
+    <tab>
519
+    <down>
520
+
521
+completion-item-focus next-category
522
+    <ctrl-tab>
523
+
524
+completion-item-focus prev-category
525
+    <ctrl-shift-tab>
526
+
527
+completion-item-del
528
+    <ctrl-d>
529
+
530
+command-accept
531
+    <return>
532
+    <ctrl-m>
533
+    <ctrl-j>
534
+    <shift-return>
535
+    <enter>
536
+    <shift-enter>
537
+
538
+[prompt]
539
+# Keybindings for prompts in the status line.
540
+# You can bind normal keys in this mode, but they will be only active
541
+# when a yes/no-prompt is asked. For other prompt modes, you can only
542
+# bind special keys.
543
+# Useful hidden commands to map in this section:
544
+#  * `prompt-accept`: Confirm the entered value.
545
+#  * `prompt-accept yes`: Answer yes to a yes/no question.
546
+#  * `prompt-accept no`: Answer no to a yes/no question.
547
+
548
+prompt-accept
549
+    <return>
550
+    <ctrl-m>
551
+    <ctrl-j>
552
+    <shift-return>
553
+    <enter>
554
+    <shift-enter>
555
+
556
+prompt-accept yes
557
+    y
558
+
559
+prompt-accept no
560
+    n
561
+
562
+prompt-open-download
563
+    <ctrl-x>
564
+
565
+prompt-item-focus prev
566
+    <shift-tab>
567
+    <up>
568
+
569
+prompt-item-focus next
570
+    <tab>
571
+    <down>
572
+
573
+[command,prompt]
574
+
575
+rl-backward-char
576
+    <ctrl-b>
577
+
578
+rl-forward-char
579
+    <ctrl-f>
580
+
581
+rl-backward-word
582
+    <alt-b>
583
+
584
+rl-forward-word
585
+    <alt-f>
586
+
587
+rl-beginning-of-line
588
+    <ctrl-a>
589
+
590
+rl-end-of-line
591
+    <ctrl-e>
592
+
593
+rl-unix-line-discard
594
+    <ctrl-u>
595
+
596
+rl-kill-line
597
+    <ctrl-k>
598
+
599
+rl-kill-word
600
+    <alt-d>
601
+
602
+rl-unix-word-rubout
603
+    <ctrl-w>
604
+
605
+rl-backward-kill-word
606
+    <alt-backspace>
607
+
608
+rl-yank
609
+    <ctrl-y>
610
+
611
+rl-delete-char
612
+    <ctrl-?>
613
+
614
+rl-backward-delete-char
615
+    <ctrl-h>
616
+
617
+[caret]
618
+
619
+toggle-selection
620
+    v
621
+    <space>
622
+
623
+drop-selection
624
+    <ctrl-space>
625
+
626
+enter-mode normal
627
+    c
628
+
629
+move-to-next-line
630
+    j
631
+
632
+move-to-prev-line
633
+    k
634
+
635
+move-to-next-char
636
+    l
637
+
638
+move-to-prev-char
639
+    h
640
+
641
+move-to-end-of-word
642
+    e
643
+
644
+move-to-next-word
645
+    w
646
+
647
+move-to-prev-word
648
+    b
649
+
650
+move-to-start-of-next-block
651
+    ]
652
+
653
+move-to-start-of-prev-block
654
+    [
655
+
656
+move-to-end-of-next-block
657
+    }
658
+
659
+move-to-end-of-prev-block
660
+    {
661
+
662
+move-to-start-of-line
663
+    0
664
+
665
+move-to-end-of-line
666
+    $
667
+
668
+move-to-start-of-document
669
+    gg
670
+
671
+move-to-end-of-document
672
+    G
673
+
674
+yank selection -s
675
+    Y
676
+
677
+yank selection
678
+    y
679
+    <return>
680
+    <ctrl-m>
681
+    <ctrl-j>
682
+    <shift-return>
683
+    <enter>
684
+    <shift-enter>
685
+
686
+scroll left
687
+    H
688
+
689
+scroll down
690
+    J
691
+
692
+scroll up
693
+    K
694
+
695
+scroll right
696
+    L

+ 686
- 0
config/qutebrowser.conf View File

@@ -0,0 +1,686 @@
1
+[general]
2
+ignore-case = smart
3
+startpage = https://start.duckduckgo.com
4
+yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content
5
+default-open-dispatcher =
6
+default-page = ${startpage}
7
+auto-search = naive
8
+auto-save-config = false
9
+auto-save-interval = 15000
10
+editor = e -c --wait "{}"
11
+editor-encoding = utf-8
12
+private-browsing = false
13
+developer-extras = true
14
+print-element-backgrounds = true
15
+xss-auditing = true
16
+site-specific-quirks = true
17
+default-encoding = utf-8
18
+new-instance-open-target = tab
19
+new-instance-open-target.window = last-focused
20
+log-javascript-console = debug
21
+save-session = true
22
+session-default-name =
23
+url-incdec-segments = path,query
24
+
25
+[ui]
26
+zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
27
+default-zoom = 100%
28
+downloads-position = bottom
29
+status-position = bottom
30
+message-timeout = 2000
31
+message-unfocused = false
32
+confirm-quit = never
33
+zoom-text-only = false
34
+frame-flattening = false
35
+user-stylesheet =
36
+hide-scrollbar = true
37
+css-media-type =
38
+smooth-scrolling = true
39
+remove-finished-downloads = 1000
40
+hide-statusbar = true
41
+statusbar-padding = 1,1,0,0
42
+window-title-format = {perc}{title}{title_sep}qutebrowser
43
+modal-js-dialog = false
44
+hide-wayland-decoration = false
45
+keyhint-blacklist =
46
+prompt-radius = 8
47
+prompt-filebrowser = true
48
+
49
+[network]
50
+do-not-track = true
51
+accept-language = en-US,en
52
+referer-header = same-domain
53
+user-agent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.2228.0 Safari/537.36"
54
+proxy = system
55
+proxy-dns-requests = true
56
+ssl-strict = ask
57
+dns-prefetch = true
58
+custom-headers =
59
+netrc-file =
60
+
61
+[completion]
62
+show = auto
63
+download-path-suggestion = path
64
+timestamp-format = %Y-%m-%d
65
+height = 50%
66
+cmd-history-max-items = 100
67
+web-history-max-items = 1000
68
+quick-complete = true
69
+shrink = false
70
+scrollbar-width = 12
71
+scrollbar-padding = 2
72
+
73
+[input]
74
+timeout = 500
75
+partial-timeout = 5000
76
+insert-mode-on-plugins = false
77
+auto-leave-insert-mode = true
78
+auto-insert-mode = true
79
+forward-unbound-keys = auto
80
+spatial-navigation = false
81
+links-included-in-focus-chain = true
82
+rocker-gestures = false
83
+mouse-zoom-divider = 512
84
+
85
+[tabs]
86
+background-tabs = false
87
+select-on-remove = next
88
+new-tab-position = next
89
+new-tab-position-explicit = last
90
+last-close = ignore
91
+show = always
92
+show-switching-delay = 800
93
+wrap = true
94
+movable = true
95
+close-mouse-button = middle
96
+position = bottom
97
+show-favicons = true
98
+width = 20%
99
+indicator-width = 3
100
+tabs-are-windows = false
101
+title-format = {index}: {title}
102
+title-alignment = left
103
+mousewheel-tab-switching = true
104
+padding = 0,0,5,5
105
+indicator-padding = 2,2,0,4
106
+
107
+[storage]
108
+download-directory = $$HOME/download
109
+prompt-download-directory = false
110
+remember-download-directory = false
111
+maximum-pages-in-cache =
112
+object-cache-capacities =
113
+offline-storage-default-quota =
114
+offline-web-application-cache-quota =
115
+offline-storage-database = true
116
+offline-web-application-storage = true
117
+local-storage = true
118
+cache-size =
119
+
120
+[content]
121
+allow-images = true
122
+allow-javascript = true
123
+allow-plugins = false
124
+webgl = false
125
+css-regions = true
126
+hyperlink-auditing = false
127
+geolocation = ask
128
+notifications = true
129
+media-capture = ask
130
+javascript-can-open-windows-automatically = false
131
+javascript-can-close-windows = false
132
+javascript-can-access-clipboard = false
133
+ignore-javascript-prompt = false
134
+ignore-javascript-alert = false
135
+local-content-can-access-remote-urls = false
136
+local-content-can-access-file-urls = true
137
+cookies-accept = no-3rdparty
138
+cookies-store = true
139
+host-block-lists = https://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext
140
+host-blocking-enabled = true
141
+host-blocking-whitelist = piwik.org
142
+enable-pdfjs = yes
143
+
144
+[hints]
145
+border = 1px solid #E3BE23
146
+mode = letter
147
+chars = abcdefghijklmnopqrstuvwxyz
148
+min-chars = 1
149
+scatter = true
150
+uppercase = false
151
+dictionary = /usr/share/dict/words
152
+auto-follow = unique-match
153
+auto-follow-timeout = 0
154
+next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
155
+prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
156
+find-implementation = python
157
+hide-unmatched-rapid-hints = true
158
+
159
+[searchengines]
160
+DEFAULT = https://duckduckgo.com/?q={}
161
+google = https://www.google.com/search?q={}
162
+hackage = https://hackage.haskell.org/packages/search?terms={}
163
+hoogle = https://www.haskell.org/hoogle/?hoogle={}
164
+
165
+[aliases]
166
+# Aliases for commands.
167
+# By default, no aliases are defined. Example which adds a new command
168
+# `:qtb` to open qutebrowsers website:
169
+# `qtb = open https://www.qutebrowser.org/`
170
+
171
+[colors]
172
+# Colors used in the UI.
173
+# A value can be in one of the following format:
174
+#  * `#RGB`/`#RRGGBB`/`#RRRGGGBBB`/`#RRRRGGGGBBBB`
175
+#  * An SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification].
176
+#  * transparent (no color)
177
+#  * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages)
178
+#  * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359)
179
+#  * A gradient as explained in http://doc.qt.io/qt-5/stylesheet-reference.html#list-of-property-types[the Qt documentation] under ``Gradient''.
180
+# A *.system value determines the color system to use for color
181
+# interpolation between similarly-named *.start and *.stop entries,
182
+# regardless of how they are defined in the options. Valid values are
183
+# 'rgb', 'hsv', and 'hsl'.
184
+# The `hints.*` values are a special case as they're real CSS colors, not Qt-CSS colors. There, for a gradient, you need to use `-webkit-gradient`, see https://www.webkit.org/blog/175/introducing-css-gradients/[the WebKit documentation].
185
+#
186
+# completion.fg (QtColor):
187
+#     Text color of the completion widget.
188
+#     Default: white
189
+#
190
+# completion.bg (QssColor):
191
+#     Background color of the completion widget.
192
+#     Default: #333333
193
+#
194
+# completion.alternate-bg (QssColor):
195
+#     Alternating background color of the completion widget.
196
+#     Default: #444444
197
+#
198
+# completion.category.fg (QtColor):
199
+#     Foreground color of completion widget category headers.
200
+#     Default: white
201
+#
202
+# completion.category.bg (QssColor):
203
+#     Background color of the completion widget category headers.
204
+#     Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888,
205
+#     stop:1 #505050)
206
+#
207
+# completion.category.border.top (QssColor):
208
+#     Top border color of the completion widget category headers.
209
+#     Default: black
210
+#
211
+# completion.category.border.bottom (QssColor):
212
+#     Bottom border color of the completion widget category headers.
213
+#     Default: ${completion.category.border.top}
214
+#
215
+# completion.item.selected.fg (QtColor):
216
+#     Foreground color of the selected completion item.
217
+#     Default: black
218
+#
219
+# completion.item.selected.bg (QssColor):
220
+#     Background color of the selected completion item.
221
+#     Default: #e8c000
222
+#
223
+# completion.item.selected.border.top (QssColor):
224
+#     Top border color of the completion widget category headers.
225
+#     Default: #bbbb00
226
+#
227
+# completion.item.selected.border.bottom (QssColor):
228
+#     Bottom border color of the selected completion item.
229
+#     Default: ${completion.item.selected.border.top}
230
+#
231
+# completion.match.fg (QssColor):
232
+#     Foreground color of the matched text in the completion.
233
+#     Default: #ff4444
234
+#
235
+# completion.scrollbar.fg (QssColor):
236
+#     Color of the scrollbar handle in completion view.
237
+#     Default: ${completion.fg}
238
+#
239
+# completion.scrollbar.bg (QssColor):
240
+#     Color of the scrollbar in completion view
241
+#     Default: ${completion.bg}
242
+#
243
+# statusbar.fg (QssColor):
244
+#     Foreground color of the statusbar.
245
+#     Default: white
246
+#
247
+# statusbar.bg (QssColor):
248
+#     Background color of the statusbar.
249
+#     Default: black
250
+#
251
+# statusbar.fg.insert (QssColor):
252
+#     Foreground color of the statusbar in insert mode.
253
+#     Default: ${statusbar.fg}
254
+#
255
+# statusbar.bg.insert (QssColor):
256
+#     Background color of the statusbar in insert mode.
257
+#     Default: darkgreen
258
+#
259
+# statusbar.fg.command (QssColor):
260
+#     Foreground color of the statusbar in command mode.
261
+#     Default: ${statusbar.fg}
262
+#
263
+# statusbar.bg.command (QssColor):
264
+#     Background color of the statusbar in command mode.
265
+#     Default: ${statusbar.bg}
266
+#
267
+# statusbar.fg.caret (QssColor):
268
+#     Foreground color of the statusbar in caret mode.
269
+#     Default: ${statusbar.fg}
270
+#
271
+# statusbar.bg.caret (QssColor):
272
+#     Background color of the statusbar in caret mode.
273
+#     Default: purple
274
+#
275
+# statusbar.fg.caret-selection (QssColor):
276
+#     Foreground color of the statusbar in caret mode with a selection
277
+#     Default: ${statusbar.fg}
278
+#
279
+# statusbar.bg.caret-selection (QssColor):
280
+#     Background color of the statusbar in caret mode with a selection
281
+#     Default: #a12dff
282
+#
283
+# statusbar.progress.bg (QssColor):
284
+#     Background color of the progress bar.
285
+#     Default: white
286
+#
287
+# statusbar.url.fg (QssColor):
288
+#     Default foreground color of the URL in the statusbar.
289
+#     Default: ${statusbar.fg}
290
+#
291
+# statusbar.url.fg.success (QssColor):
292
+#     Foreground color of the URL in the statusbar on successful load
293
+#     (http).
294
+#     Default: white
295
+#
296
+# statusbar.url.fg.success.https (QssColor):
297
+#     Foreground color of the URL in the statusbar on successful load
298
+#     (https).
299
+#     Default: lime
300
+#
301
+# statusbar.url.fg.error (QssColor):
302
+#     Foreground color of the URL in the statusbar on error.
303
+#     Default: orange
304
+#
305
+# statusbar.url.fg.warn (QssColor):
306
+#     Foreground color of the URL in the statusbar when there's a
307
+#     warning.
308
+#     Default: yellow
309
+#
310
+# statusbar.url.fg.hover (QssColor):
311
+#     Foreground color of the URL in the statusbar for hovered links.
312
+#     Default: aqua
313
+#
314
+# tabs.fg.odd (QtColor):
315
+#     Foreground color of unselected odd tabs.
316
+#     Default: white
317
+#
318
+# tabs.bg.odd (QtColor):
319
+#     Background color of unselected odd tabs.
320
+#     Default: grey
321
+#
322
+# tabs.fg.even (QtColor):
323
+#     Foreground color of unselected even tabs.
324
+#     Default: white
325
+#
326
+# tabs.bg.even (QtColor):
327
+#     Background color of unselected even tabs.
328
+#     Default: darkgrey
329
+#
330
+# tabs.fg.selected.odd (QtColor):
331
+#     Foreground color of selected odd tabs.
332
+#     Default: white
333
+#
334
+# tabs.bg.selected.odd (QtColor):
335
+#     Background color of selected odd tabs.
336
+#     Default: black
337
+#
338
+# tabs.fg.selected.even (QtColor):
339
+#     Foreground color of selected even tabs.
340
+#     Default: ${tabs.fg.selected.odd}
341
+#
342
+# tabs.bg.selected.even (QtColor):
343
+#     Background color of selected even tabs.
344
+#     Default: ${tabs.bg.selected.odd}
345
+#
346
+# tabs.bg.bar (QtColor):
347
+#     Background color of the tab bar.
348
+#     Default: #555555
349
+#
350
+# tabs.indicator.start (QtColor):
351
+#     Color gradient start for the tab indicator.
352
+#     Default: #0000aa
353
+#
354
+# tabs.indicator.stop (QtColor):
355
+#     Color gradient end for the tab indicator.
356
+#     Default: #00aa00
357
+#
358
+# tabs.indicator.error (QtColor):
359
+#     Color for the tab indicator on errors..
360
+#     Default: #ff0000
361
+#
362
+# tabs.indicator.system (ColorSystem):
363
+#     Color gradient interpolation system for the tab indicator.
364
+#         rgb: Interpolate in the RGB color system.
365
+#         hsv: Interpolate in the HSV color system.
366
+#         hsl: Interpolate in the HSL color system.
367
+#         none: Don't show a gradient.
368
+#     Default: rgb
369
+#
370
+# hints.fg (QssColor):
371
+#     Font color for hints.
372
+#     Default: black
373
+#
374
+# hints.bg (QssColor):
375
+#     Background color for hints. Note that you can use a `rgba(...)`
376
+#     value for transparency.
377
+#     Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255,
378
+#     247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))
379
+#
380
+# hints.fg.match (QssColor):
381
+#     Font color for the matched part of hints.
382
+#     Default: green
383
+#
384
+# downloads.bg.bar (QssColor):
385
+#     Background color for the download bar.
386
+#     Default: black
387
+#
388
+# downloads.fg.start (QtColor):
389
+#     Color gradient start for download text.
390
+#     Default: white
391
+#
392
+# downloads.bg.start (QtColor):
393
+#     Color gradient start for download backgrounds.
394
+#     Default: #0000aa
395
+#
396
+# downloads.fg.stop (QtColor):
397
+#     Color gradient end for download text.
398
+#     Default: ${downloads.fg.start}
399
+#
400
+# downloads.bg.stop (QtColor):
401
+#     Color gradient stop for download backgrounds.
402
+#     Default: #00aa00
403
+#
404
+# downloads.fg.system (ColorSystem):
405
+#     Color gradient interpolation system for download text.
406
+#         rgb: Interpolate in the RGB color system.
407
+#         hsv: Interpolate in the HSV color system.
408
+#         hsl: Interpolate in the HSL color system.
409
+#         none: Don't show a gradient.
410
+#     Default: rgb
411
+#
412
+# downloads.bg.system (ColorSystem):
413
+#     Color gradient interpolation system for download backgrounds.
414
+#         rgb: Interpolate in the RGB color system.
415
+#         hsv: Interpolate in the HSV color system.
416
+#         hsl: Interpolate in the HSL color system.
417
+#         none: Don't show a gradient.
418
+#     Default: rgb
419
+#
420
+# downloads.fg.error (QtColor):
421
+#     Foreground color for downloads with errors.
422
+#     Default: white
423
+#
424
+# downloads.bg.error (QtColor):
425
+#     Background color for downloads with errors.
426
+#     Default: red
427
+#
428
+# webpage.bg (QtColor):
429
+#     Background color for webpages if unset (or empty to use the
430
+#     theme's color)
431
+#     Default: white
432
+#
433
+# keyhint.fg (QssColor):
434
+#     Text color for the keyhint widget.
435
+#     Default: #FFFFFF
436
+#
437
+# keyhint.fg.suffix (CssColor):
438
+#     Highlight color for keys to complete the current keychain
439
+#     Default: #FFFF00
440
+#
441
+# keyhint.bg (QssColor):
442
+#     Background color of the keyhint widget.
443
+#     Default: rgba(0, 0, 0, 80%)
444
+#
445
+# messages.fg.error (QssColor):
446
+#     Foreground color of an error message.
447
+#     Default: white
448
+#
449
+# messages.bg.error (QssColor):
450
+#     Background color of an error message.
451
+#     Default: red
452
+#
453
+# messages.border.error (QssColor):
454
+#     Border color of an error message.
455
+#     Default: #bb0000
456
+#
457
+# messages.fg.warning (QssColor):
458
+#     Foreground color a warning message.
459
+#     Default: white
460
+#
461
+# messages.bg.warning (QssColor):
462
+#     Background color of a warning message.
463
+#     Default: darkorange
464
+#
465
+# messages.border.warning (QssColor):
466
+#     Border color of an error message.
467
+#     Default: #d47300
468
+#
469
+# messages.fg.info (QssColor):
470
+#     Foreground color an info message.
471
+#     Default: white
472
+#
473
+# messages.bg.info (QssColor):
474
+#     Background color of an info message.
475
+#     Default: black
476
+#
477
+# messages.border.info (QssColor):
478
+#     Border color of an info message.
479
+#     Default: #333333
480
+#
481
+# prompts.fg (QssColor):
482
+#     Foreground color for prompts.
483
+#     Default: white
484
+#
485
+# prompts.bg (QssColor):
486
+#     Background color for prompts.
487
+#     Default: darkblue
488
+#
489
+# prompts.selected.bg (QssColor):
490
+#     Background color for the selected item in filename prompts.
491
+#     Default: #308cc6
492
+completion.fg = white
493
+completion.bg = #333333
494
+completion.alternate-bg = #444444
495
+completion.category.fg = white
496
+completion.category.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)
497
+completion.category.border.top = black
498
+completion.category.border.bottom = ${completion.category.border.top}
499
+completion.item.selected.fg = black
500
+completion.item.selected.bg = #e8c000
501
+completion.item.selected.border.top = #bbbb00
502
+completion.item.selected.border.bottom = ${completion.item.selected.border.top}
503
+completion.match.fg = #ff4444
504
+completion.scrollbar.fg = ${completion.fg}
505
+completion.scrollbar.bg = ${completion.bg}
506
+statusbar.fg = white
507
+statusbar.bg = black
508
+statusbar.fg.insert = ${statusbar.fg}
509
+statusbar.bg.insert = darkgreen
510
+statusbar.fg.command = ${statusbar.fg}
511
+statusbar.bg.command = ${statusbar.bg}
512
+statusbar.fg.caret = ${statusbar.fg}
513
+statusbar.bg.caret = purple
514
+statusbar.fg.caret-selection = ${statusbar.fg}
515
+statusbar.bg.caret-selection = #a12dff
516
+statusbar.progress.bg = white
517
+statusbar.url.fg = ${statusbar.fg}
518
+statusbar.url.fg.success = white
519
+statusbar.url.fg.success.https = lime
520
+statusbar.url.fg.error = orange
521
+statusbar.url.fg.warn = yellow
522
+statusbar.url.fg.hover = aqua
523
+tabs.fg.odd = white
524
+tabs.bg.odd = grey
525
+tabs.fg.even = white
526
+tabs.bg.even = darkgrey
527
+tabs.fg.selected.odd = white
528
+tabs.bg.selected.odd = black
529
+tabs.fg.selected.even = ${tabs.fg.selected.odd}
530
+tabs.bg.selected.even = ${tabs.bg.selected.odd}
531
+tabs.bg.bar = #555555
532
+tabs.indicator.start = #0000aa
533
+tabs.indicator.stop = #00aa00
534
+tabs.indicator.error = #ff0000
535
+tabs.indicator.system = rgb
536
+hints.fg = black
537
+hints.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))
538
+hints.fg.match = green
539
+downloads.bg.bar = black
540
+downloads.fg.start = white
541
+downloads.bg.start = #0000aa
542
+downloads.fg.stop = ${downloads.fg.start}
543
+downloads.bg.stop = #00aa00
544
+downloads.fg.system = rgb
545
+downloads.bg.system = rgb
546
+downloads.fg.error = white
547
+downloads.bg.error = red
548
+webpage.bg = white
549
+keyhint.fg = #FFFFFF
550
+keyhint.fg.suffix = #FFFF00
551
+keyhint.bg = rgba(0, 0, 0, 80%)
552
+messages.fg.error = white
553
+messages.bg.error = red
554
+messages.border.error = #bb0000
555
+messages.fg.warning = white
556
+messages.bg.warning = darkorange
557
+messages.border.warning = #d47300
558
+messages.fg.info = white
559
+messages.bg.info = black
560
+messages.border.info = #333333
561
+prompts.fg = white
562
+prompts.bg = darkblue
563
+prompts.selected.bg = #308cc6
564
+
565
+[fonts]
566
+# Fonts used for the UI, with optional style/weight/size.
567
+#  * Style: `normal`/`italic`/`oblique`
568
+#  * Weight: `normal`, `bold`, `100`..`900`
569
+#  * Size: _number_ `px`/`pt`
570
+#
571
+# _monospace (Font):
572
+#     Default monospace fonts.
573
+#     Default: Terminus, Monospace, "DejaVu Sans Mono", Monaco,
574
+#     "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier,
575
+#     "Liberation Mono", monospace, Fixed, Consolas, Terminal
576
+#
577
+# completion (Font):
578
+#     Font used in the completion widget.
579
+#     Default: 8pt ${_monospace}
580
+#
581
+# completion.category (Font):
582
+#     Font used in the completion categories.
583
+#     Default: bold ${completion}
584
+#
585
+# tabbar (QtFont):
586
+#     Font used in the tab bar.
587
+#     Default: 8pt ${_monospace}
588
+#
589
+# statusbar (Font):
590
+#     Font used in the statusbar.
591
+#     Default: 8pt ${_monospace}
592
+#
593
+# downloads (Font):
594
+#     Font used for the downloadbar.
595
+#     Default: 8pt ${_monospace}
596
+#
597
+# hints (Font):
598
+#     Font used for the hints.
599
+#     Default: bold 13px ${_monospace}
600
+#
601
+# debug-console (QtFont):
602
+#     Font used for the debugging console.
603
+#     Default: 8pt ${_monospace}
604
+#
605
+# web-family-standard (FontFamily):
606
+#     Font family for standard fonts.
607
+#     Default:
608
+#
609
+# web-family-fixed (FontFamily):
610
+#     Font family for fixed fonts.
611
+#     Default:
612
+#
613
+# web-family-serif (FontFamily):
614
+#     Font family for serif fonts.
615
+#     Default:
616
+#
617
+# web-family-sans-serif (FontFamily):
618
+#     Font family for sans-serif fonts.
619
+#     Default:
620
+#
621
+# web-family-cursive (FontFamily):
622
+#     Font family for cursive fonts.
623
+#     Default:
624
+#
625
+# web-family-fantasy (FontFamily):
626
+#     Font family for fantasy fonts.
627
+#     Default:
628
+#
629
+# web-size-minimum (Int):
630
+#     The hard minimum font size.
631
+#     Default:
632
+#
633
+# web-size-minimum-logical (Int):
634
+#     The minimum logical font size that is applied when zooming out.
635
+#     Default:
636
+#
637
+# web-size-default (Int):
638
+#     The default font size for regular text.
639
+#     Default:
640
+#
641
+# web-size-default-fixed (Int):
642
+#     The default font size for fixed-pitch text.
643
+#     Default:
644
+#
645
+# keyhint (Font):
646
+#     Font used in the keyhint widget.
647
+#     Default: 8pt ${_monospace}
648
+#
649
+# messages.error (Font):
650
+#     Font used for error messages.
651
+#     Default: 8pt ${_monospace}
652
+#
653
+# messages.warning (Font):
654
+#     Font used for warning messages.
655
+#     Default: 8pt ${_monospace}
656
+#
657
+# messages.info (Font):
658
+#     Font used for info messages.
659
+#     Default: 8pt ${_monospace}
660
+#
661
+# prompts (Font):
662
+#     Font used for prompts.
663
+#     Default: 8pt sans-serif
664
+_monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, "Liberation Mono", monospace, Fixed, Consolas, Terminal
665
+completion = 8pt ${_monospace}
666
+completion.category = bold ${completion}
667
+tabbar = 8pt ${_monospace}
668
+statusbar = 8pt ${_monospace}
669
+downloads = 8pt ${_monospace}
670
+hints = bold 13px ${_monospace}
671
+debug-console = 8pt ${_monospace}
672
+web-family-standard =
673
+web-family-fixed =
674
+web-family-serif =
675
+web-family-sans-serif =
676
+web-family-cursive =
677
+web-family-fantasy =
678
+web-size-minimum =
679
+web-size-minimum-logical =
680
+web-size-default =
681
+web-size-default-fixed =
682
+keyhint = 8pt ${_monospace}
683
+messages.error = 8pt ${_monospace}
684
+messages.warning = 8pt ${_monospace}
685
+messages.info = 8pt ${_monospace}
686
+prompts = 8pt sans-serif

Loading…
Cancel
Save