2023-11-04 10:01:21 +00:00
|
|
|
(define-configuration buffer
|
2023-12-18 16:55:56 +00:00
|
|
|
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))
|
|
|
|
(default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))
|
|
|
|
|
|
|
|
(define-configuration status-buffer
|
|
|
|
((glyph-mode-presentation-p t)
|
|
|
|
(display-tabs-by-last-access-p t)))
|
|
|
|
|
2023-11-07 10:20:51 +00:00
|
|
|
(define-configuration context-buffer
|
|
|
|
((search-engines (list
|
2023-12-01 06:52:47 +00:00
|
|
|
(make-instance
|
|
|
|
'search-engine
|
|
|
|
:name "Wikipedia"
|
|
|
|
:shortcut "wiki"
|
|
|
|
:search-url "https://en.wikipedia.org/w/index.php?search=~a"
|
|
|
|
:fallback-url (quri.uri:uri "https://en.wikipedia.org/"))
|
|
|
|
(make-instance
|
|
|
|
'search-engine
|
|
|
|
:name "MyNixOS"
|
|
|
|
:shortcut "mn"
|
|
|
|
:search-url "https://mynixos.com/search?q=~a"
|
|
|
|
:fallback-url (quri.uri:uri "https://mynixos.com/"))
|
|
|
|
(make-instance
|
|
|
|
'search-engine
|
|
|
|
:name "DuckDuckGo"
|
|
|
|
:shortcut "ddg"
|
|
|
|
:search-url "https://duckduckgo.com/?q=~a"
|
|
|
|
:fallback-url (quri.uri:uri "https://duckduckgo.com/"))))))
|
2023-12-18 16:55:56 +00:00
|
|
|
|
2023-11-12 14:13:03 +00:00
|
|
|
(define-configuration browser
|
|
|
|
((theme (make-instance
|
|
|
|
'theme:theme
|
2023-12-18 16:55:56 +00:00
|
|
|
:dark-p t
|
|
|
|
:font-family "Noto Sans"
|
2024-01-06 09:13:27 +00:00
|
|
|
:text-color "#cdd6f4"
|
|
|
|
:contrast-text-color "#11111b"
|
2023-12-18 16:55:56 +00:00
|
|
|
:background-color "#1e1e2e"
|
2024-01-06 09:13:27 +00:00
|
|
|
:background-color+ "#1e1e2e"
|
|
|
|
:background-color- "#1e1e2e"
|
|
|
|
:on-background-color "#cdd6f4"
|
|
|
|
:accent-color "#89dceb"
|
|
|
|
:accent-color+ "#89dceb"
|
|
|
|
:accent-color- "#89dceb"
|
|
|
|
:on-accent-color "#11111b"
|
2023-12-18 16:55:56 +00:00
|
|
|
:primary-color "#b4befe"
|
2024-01-06 09:13:27 +00:00
|
|
|
:primary-color+ "#b4befe"
|
|
|
|
:primary-color- "#b4befe"
|
|
|
|
:on-primary-color "#11111b"
|
|
|
|
:secondary-color "#cba6f7"
|
|
|
|
:secondary-color+ "#cba6f7"
|
|
|
|
:secondary-color- "#cba6f7"
|
|
|
|
:on-secondary-color "#11111b"
|
|
|
|
:warning-color "#f38ba8"
|
|
|
|
:warning-color+ "#f38ba8"
|
|
|
|
:warning-color- "#f38ba8"
|
|
|
|
:on-warning-color "#11111b"
|
|
|
|
:highlight-color "#f9e2af"
|
|
|
|
:highlight-color+ "#f9e2af"
|
|
|
|
:highlight-color- "#f9e2af"
|
|
|
|
:on-highlight-color "#11111b"
|
|
|
|
:action-color "#89b4fa"
|
|
|
|
:action-color+ "#89b4fa"
|
|
|
|
:action-color- "#89b4fa"
|
|
|
|
:on-action-color "#11111b"
|
|
|
|
:codeblock-color "#181825"
|
|
|
|
:codeblock-color+ "#181825"
|
|
|
|
:codeblock-color- "#181825"
|
|
|
|
:on-codeblock-color "#cdd6f4"))))
|
2023-12-18 16:55:56 +00:00
|
|
|
|
|
|
|
(setf (uiop/os:getenv "GTK_THEME") "Adwaita:dark")
|