(define-configuration buffer ((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))) (define-configuration context-buffer ((search-engines (list (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/")))))) (define-configuration browser ((theme (make-instance 'theme:theme :dark-p t :font-family "Noto Sans" :background-color "#1e1e2e" :background-alt-color "#313244" :accent-color "#cba6f7" :primary-color "#b4befe" :secondary-color "#cdd6f4" :warning-color "#f7768e")))) (setf (uiop/os:getenv "GTK_THEME") "Adwaita:dark")