Add gstreamer plugins for nyxt
Reorganise nyxt config a bit and switch to catppuccin colourscheme
This commit is contained in:
parent
eef541ee8a
commit
07f35f405e
|
@ -1,11 +1,12 @@
|
||||||
(defmethod customize-instance ((browser browser) &key)
|
|
||||||
(setf (slot-value browser 'restore-session-on-startup-p) nil))
|
|
||||||
(setf (uiop:getenv "GTK_THEME") "Adwaita:dark")
|
|
||||||
(setf (uiop/os:getenv "WEBKIT_DISABLE_COMPOSITING_MODE") "1")
|
|
||||||
(define-configuration buffer
|
(define-configuration buffer
|
||||||
((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))
|
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))
|
||||||
(define-configuration web-buffer
|
(default-modes (pushnew 'nyxt/mode/reduce-tracking:reduce-tracking-mode %slot-value%))
|
||||||
((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
|
(define-configuration context-buffer
|
||||||
((search-engines (list
|
((search-engines (list
|
||||||
(make-instance
|
(make-instance
|
||||||
|
@ -26,13 +27,17 @@
|
||||||
:shortcut "ddg"
|
:shortcut "ddg"
|
||||||
:search-url "https://duckduckgo.com/?q=~a"
|
:search-url "https://duckduckgo.com/?q=~a"
|
||||||
:fallback-url (quri.uri:uri "https://duckduckgo.com/"))))))
|
:fallback-url (quri.uri:uri "https://duckduckgo.com/"))))))
|
||||||
|
|
||||||
(define-configuration browser
|
(define-configuration browser
|
||||||
((theme (make-instance
|
((theme (make-instance
|
||||||
'theme:theme
|
'theme:theme
|
||||||
:font-family "JetBrainsMono Nerd Font"
|
:dark-p t
|
||||||
:background-color "#1a1b26"
|
:font-family "Noto Sans"
|
||||||
:background-alt-color "#414868"
|
:background-color "#1e1e2e"
|
||||||
:accent-color "#bb9af7"
|
:background-alt-color "#313244"
|
||||||
:primary-color "#bb9af7"
|
:accent-color "#cba6f7"
|
||||||
:secondary-color "#a9b1d6"
|
:primary-color "#b4befe"
|
||||||
|
:secondary-color "#cdd6f4"
|
||||||
:warning-color "#f7768e"))))
|
:warning-color "#f7768e"))))
|
||||||
|
|
||||||
|
(setf (uiop/os:getenv "GTK_THEME") "Adwaita:dark")
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
{
|
nyxt
|
||||||
home.packages = with pkgs; [ nyxt ];
|
gst_all_1.gst-libav
|
||||||
xdg.configFile = {
|
gst_all_1.gst-plugins-base
|
||||||
"nyxt/config.lisp".source = ./config.lisp;
|
gst_all_1.gst-plugins-good
|
||||||
"nyxt/bookmarks.lisp".source = ./bookmarks.lisp;
|
gst_all_1.gst-plugins-bad
|
||||||
};
|
gst_all_1.gst-plugins-ugly
|
||||||
|
];
|
||||||
|
xdg.configFile."nyxt/config.lisp".source = ./config.lisp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue