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%))
|
2024-02-01 06:14:28 +00:00
|
|
|
(default-modes (pushnew 'nyxt/mode/no-script:no-script-mode %slot-value%))
|
2023-12-18 16:55:56 +00:00
|
|
|
(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"
|
2024-02-01 06:14:28 +00:00
|
|
|
:search-url "https://html.duckduckgo.com/html/?q=~a"
|
|
|
|
:fallback-url (quri.uri:uri "https://html.duckduckgo.com/html/"))))))
|
2023-12-18 16:55:56 +00:00
|
|
|
|
2023-11-12 14:13:03 +00:00
|
|
|
(define-configuration browser
|
2024-01-23 13:33:29 +00:00
|
|
|
((restore-session-on-startup-p nil)
|
2024-01-11 19:58:34 +00:00
|
|
|
(theme (make-instance
|
2023-11-12 14:13:03 +00:00
|
|
|
'theme:theme
|
2023-12-18 16:55:56 +00:00
|
|
|
:dark-p t
|
2024-01-16 13:52:00 +00:00
|
|
|
:font-family "Iosevka Nerd Font"
|
2024-01-29 11:57:31 +00:00
|
|
|
:monospace-font-family "Iosevka Nerd Font"
|
2024-01-11 07:27:50 +00:00
|
|
|
:text-color "#ffffff"
|
2024-01-29 11:57:31 +00:00
|
|
|
:text-color+ "#ffffff"
|
|
|
|
:text-color- "#ffffff"
|
2024-01-11 07:27:50 +00:00
|
|
|
:contrast-text-color "#000000"
|
|
|
|
:background-color "#0d0e1c"
|
|
|
|
:background-color+ "#0d0e1c"
|
|
|
|
:background-color- "#0d0e1c"
|
|
|
|
:on-background-color "#ffffff"
|
2024-01-11 19:58:34 +00:00
|
|
|
:accent-color "#c6daff"
|
|
|
|
:accent-color+ "#c6daff"
|
|
|
|
:accent-color- "#c6daff"
|
2024-01-11 07:27:50 +00:00
|
|
|
:on-accent-color "#000000"
|
2024-01-11 19:58:34 +00:00
|
|
|
:primary-color "#b4befe"
|
|
|
|
:primary-color+ "#b4befe"
|
|
|
|
:primary-color- "#b4befe"
|
|
|
|
:on-primary-color "#000000"
|
|
|
|
:secondary-color "#61647a"
|
|
|
|
:secondary-color+ "#61647a"
|
|
|
|
:secondary-color- "#61647a"
|
2024-01-11 17:33:11 +00:00
|
|
|
:on-secondary-color "#ffffff"
|
2024-01-06 09:13:27 +00:00
|
|
|
:warning-color "#f38ba8"
|
|
|
|
:warning-color+ "#f38ba8"
|
|
|
|
:warning-color- "#f38ba8"
|
2024-01-11 07:27:50 +00:00
|
|
|
:on-warning-color "#000000"
|
2024-01-06 09:13:27 +00:00
|
|
|
:highlight-color "#f9e2af"
|
|
|
|
:highlight-color+ "#f9e2af"
|
|
|
|
:highlight-color- "#f9e2af"
|
2024-01-11 07:27:50 +00:00
|
|
|
:on-highlight-color "#000000"
|
2024-01-06 09:13:27 +00:00
|
|
|
:action-color "#89b4fa"
|
|
|
|
:action-color+ "#89b4fa"
|
|
|
|
:action-color- "#89b4fa"
|
2024-01-11 07:27:50 +00:00
|
|
|
:on-action-color "#000000"
|
2024-01-11 17:33:11 +00:00
|
|
|
:codeblock-color "#1d2235"
|
|
|
|
:codeblock-color+ "#1d2235"
|
|
|
|
:codeblock-color- "#1d2235"
|
2024-01-11 07:27:50 +00:00
|
|
|
:on-codeblock-color "#ffffff"))))
|
2023-12-18 16:55:56 +00:00
|
|
|
|
|
|
|
(setf (uiop/os:getenv "GTK_THEME") "Adwaita:dark")
|