2023-11-04 10:01:21 +00:00
|
|
|
|
(define-configuration buffer
|
2024-02-03 06:10:16 +00:00
|
|
|
|
((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))
|
|
|
|
|
(default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))
|
|
|
|
|
(default-modes (pushnew 'nyxt/mode/reduce-tracking:reduce-tracking-mode %slot-value%))
|
|
|
|
|
(default-modes (pushnew 'nyxt/mode/force-https:force-https-mode %slot-value%))))
|
2023-12-18 16:55:56 +00:00
|
|
|
|
|
|
|
|
|
(define-configuration status-buffer
|
|
|
|
|
((glyph-mode-presentation-p t)
|
|
|
|
|
(display-tabs-by-last-access-p t)))
|
|
|
|
|
|
2024-02-03 06:10:16 +00:00
|
|
|
|
(define-configuration :emacs-mode ((glyph "ε")))
|
2024-02-03 06:01:15 +00:00
|
|
|
|
(define-configuration :force-https-mode ((glyph "ϕ")))
|
|
|
|
|
(define-configuration :user-script-mode ((glyph "u")))
|
|
|
|
|
(define-configuration :blocker-mode ((glyph "β")))
|
|
|
|
|
(define-configuration :proxy-mode ((glyph "π")))
|
|
|
|
|
(define-configuration :reduce-tracking-mode ((glyph "τ")))
|
|
|
|
|
(define-configuration :certificate-exception-mode ((glyph "χ")))
|
|
|
|
|
(define-configuration :style-mode ((glyph "ϕ")))
|
|
|
|
|
(define-configuration :cruise-control-mode ((glyph "σ")))
|
|
|
|
|
|
2024-02-03 06:01:41 +00:00
|
|
|
|
(define-configuration :document-mode
|
|
|
|
|
"Extend with custom keybinds"
|
|
|
|
|
((keyscheme-map (keymaps:define-keyscheme-map "custom" (list :import %slot-value%)
|
|
|
|
|
nyxt/keyscheme:emacs (list
|
|
|
|
|
"C-c u" 'copy-username
|
|
|
|
|
"C-c p" 'copy-password)))))
|
|
|
|
|
|
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")
|