blob: 718ab1156aa0fbe1f40698b3dcfbf0e7c14820a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
(in-package #:nyxt-user)
(defvar *duckduckgo-keywords*
'(:theme :dark
:help-improve-duckduckgo nil
:homepage-privacy-tips nil
:privacy-newsletter nil
:newsletter-reminders nil
:install-reminders nil
:install-duckduckgo nil
:units-of-measure :metric
:keyboard-shortcuts t
:advertisements nil
:open-in-new-tab nil
:infinite-scroll t
:safe-search :off
:font-size :medium
:header-behavior :on-fixed
:font :helvetica
:background-color "000000")
"My DDG settings, shared between the usual, image-search and other
types of DuckDuckGo.")
(define-configuration (buffer web-buffer)
((search-engines (list (engines:duckduckgo-html-only :shortcut "dho")
(apply #'engines:duckduckgo
:shortcut "d" *duckduckgo-keywords*)
(apply #'engines:duckduckgo-images
:shortcut "i" *duckduckgo-keywords*)
(make-instance 'search-engine
:shortcut "aw"
:search-url "https://wiki.archlinux.org/index.php?search=~a&title=Special%3ASearch&fulltext=Search"
:fallback-url "https://wiki.archlinux.org")
(make-instance 'search-engine
:shortcut "gen"
:search-url "https://wiki.gentoo.org/index.php?title=Sepcial%3ASearch&search=~a&go=Go"
:fallback-url "https://wiki.gentoo.org")
(make-instance 'search-engine
:shortcut "lbx"
:search-url "https://search.cafebabe.gay/search.php?q=~a"
:fallback-url "https://search.cafebabe.gay")
(engines:invidious
:shortcut "yt"
:base-search-url "https://invidious.cafebabe.gay/search?q=~a"
:fallback-url "https://invidious.cafebabe.gay")))))
|