Add gstreamer plugins for nyxt

Reorganise nyxt config a bit and switch to catppuccin colourscheme
This commit is contained in:
Evie Litherland-Smith 2023-12-18 16:55:56 +00:00
parent eef541ee8a
commit 07f35f405e
2 changed files with 28 additions and 21 deletions

View file

@ -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
((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))
(define-configuration web-buffer
((default-modes (pushnew 'nyxt/mode/blocker:blocker-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/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
@ -26,13 +27,17 @@
: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
:font-family "JetBrainsMono Nerd Font"
:background-color "#1a1b26"
:background-alt-color "#414868"
:accent-color "#bb9af7"
:primary-color "#bb9af7"
:secondary-color "#a9b1d6"
: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")

View file

@ -1,9 +1,11 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ nyxt ];
xdg.configFile = {
"nyxt/config.lisp".source = ./config.lisp;
"nyxt/bookmarks.lisp".source = ./bookmarks.lisp;
};
{ pkgs, ... }: {
home.packages = with pkgs; [
nyxt
gst_all_1.gst-libav
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
];
xdg.configFile."nyxt/config.lisp".source = ./config.lisp;
}