Making nyxt prettier
This commit is contained in:
parent
f7c99edabb
commit
63b367dbb4
12
nyxt/auto-config.lisp
Normal file
12
nyxt/auto-config.lisp
Normal file
|
@ -0,0 +1,12 @@
|
|||
(DEFINE-CONFIGURATION NYXT/REDUCE-TRACKING-MODE:REDUCE-TRACKING-MODE
|
||||
((VISIBLE-IN-STATUS-P NIL)))
|
||||
(DEFINE-CONFIGURATION NYXT/FORCE-HTTPS-MODE:FORCE-HTTPS-MODE
|
||||
((VISIBLE-IN-STATUS-P NIL)))
|
||||
(DEFINE-CONFIGURATION NYXT/AUTO-MODE:AUTO-MODE
|
||||
((VISIBLE-IN-STATUS-P NIL)))
|
||||
(DEFINE-CONFIGURATION NYXT/CERTIFICATE-EXCEPTION-MODE:CERTIFICATE-EXCEPTION-MODE
|
||||
((VISIBLE-IN-STATUS-P NIL)))
|
||||
(DEFINE-CONFIGURATION NYXT/HELP-MODE:HELP-MODE
|
||||
((VISIBLE-IN-STATUS-P NIL)))
|
||||
(DEFINE-CONFIGURATION NYXT/WEB-MODE:WEB-MODE
|
||||
((VISIBLE-IN-STATUS-P NIL)))
|
111
nyxt/init.lisp
111
nyxt/init.lisp
|
@ -13,7 +13,7 @@
|
|||
"Show a set of element hints, and copy the URL of the user inputted one."
|
||||
(nyxt/web-mode:query-hints "Copy element URL"
|
||||
(lambda (nyxt/web-mode::result)
|
||||
(mpv (first nyxt/web-mode::result)))
|
||||
(echo (first nyxt/web-mode::result)))
|
||||
:annotate-visible-only-p
|
||||
nyxt/web-mode::annotate-visible-only-p))
|
||||
|
||||
|
@ -27,7 +27,8 @@
|
|||
(define-mode chris-mode ()
|
||||
"Dummy mode for the custom key bindings in `*chris-keymap*'."
|
||||
((keymap-scheme (keymap:make-scheme
|
||||
scheme:vi-normal *chris-keymap*))))
|
||||
scheme:vi-normal *chris-keymap*))
|
||||
(visible-in-status-p nil)))
|
||||
|
||||
(define-configuration buffer
|
||||
((default-modes (append '(vi-normal-mode
|
||||
|
@ -37,6 +38,7 @@
|
|||
chris-mode)
|
||||
%slot-default%))))
|
||||
|
||||
|
||||
(define-configuration status-buffer
|
||||
((style
|
||||
(str:concat
|
||||
|
@ -44,7 +46,46 @@
|
|||
(cl-css:css
|
||||
'((body
|
||||
:background "#282a36"
|
||||
:color "#e2e4e5")))))))
|
||||
:color "#e2e4e5")
|
||||
("#container"
|
||||
:grid-template-columns "0px 0px 1.5fr 0px 2fr 0px 1fr 0px")
|
||||
("#controls"
|
||||
:background-color "#282a36"
|
||||
:color "#f3f99d"
|
||||
:width "0px"
|
||||
:padding-left "0px"
|
||||
:hidden)
|
||||
("#url"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
("#modes"
|
||||
:background-color "#282a36"
|
||||
:color "#f3f99d")
|
||||
("#tabs"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".tab"
|
||||
:background-color "#282a36"
|
||||
:color "#9aedfe")
|
||||
(".tab:hover"
|
||||
:background-color "#282a36"
|
||||
:color "#f1f1f0")
|
||||
(".button"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".button:hover"
|
||||
:background-color "#282a36"
|
||||
:color "#f1f1f0")
|
||||
(".arrow"
|
||||
:width "0px"
|
||||
:height "0px")
|
||||
(".arrow-right"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".arrow-left"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
))))))
|
||||
|
||||
(define-configuration internal-buffer
|
||||
((style
|
||||
|
@ -52,12 +93,11 @@
|
|||
%slot-default%
|
||||
(cl-css:css
|
||||
'((body
|
||||
:background-color "#282a36"
|
||||
:background "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(hr
|
||||
:color "#5af78e")
|
||||
(.button
|
||||
:color "#e2e4e5")))))))
|
||||
|
||||
(define-configuration window
|
||||
((message-buffer-style
|
||||
(str:concat
|
||||
|
@ -67,17 +107,50 @@
|
|||
:background-color "#282a36"
|
||||
:color "#e2e4e5")))))))
|
||||
|
||||
;; (define-configuration prompt-buffer
|
||||
;; ((style
|
||||
;; (str:concat
|
||||
;; %slot-default%
|
||||
;; (cl-css:css
|
||||
;; '((body
|
||||
;; :background-color "#282a36"
|
||||
;; :color "#e2e4e5")
|
||||
;; ('#prompt-area'
|
||||
;; :background-color "#282a36")
|
||||
;; (.button
|
||||
;; :color "#e2e4e5")))))))
|
||||
(define-configuration prompt-buffer
|
||||
((style
|
||||
(str:concat
|
||||
%slot-default%
|
||||
(cl-css:css
|
||||
'((body
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#prompt-area"
|
||||
:background-color "#282a36"
|
||||
:color "#57c7ff")
|
||||
("#prompt"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#input"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#suggestions"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(.source
|
||||
:margin-left "5px")
|
||||
(.source-name
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(.source-content
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(".source-content td"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(".source-content th"
|
||||
:background-color "#43454f"
|
||||
:color "#e2e4e5")
|
||||
("#selection"
|
||||
:background-color "#57c7ff"
|
||||
:color "#e2e4e5")
|
||||
(.marked
|
||||
:background-color "#5af78e"
|
||||
:color "#e2e4e5")
|
||||
(.selected
|
||||
:background-color "#57c7ff"
|
||||
:color "#e2e4e5")
|
||||
(.button
|
||||
:color "#e2e4e5")))))))
|
||||
|
||||
(load-after-system :slynk "~/.config/nyxt/my-slynk.lisp")
|
||||
(load-after-system :slynk (nyxt-init-file "my-slynk.lisp"))
|
||||
|
|
Loading…
Reference in a new issue