diff --git a/init.lisp b/init.lisp index eaebbb9..3f79283 100644 --- a/init.lisp +++ b/init.lisp @@ -1 +1,2 @@ -(in-package #:nyxt-user) +(load (nyxt-init-file "search-engines.clisp")) +(load (nyxt-init-file "user.clisp")) \ No newline at end of file diff --git a/search-engines.clisp b/search-engines.clisp new file mode 100644 index 0000000..eb34f27 --- /dev/null +++ b/search-engines.clisp @@ -0,0 +1,27 @@ +;;; This file customized the default search-engines + +(in-package #:nyxt-user) + +;; NOTE(Krey): Last search-engine becomes the default +(define-configuration buffer + ((search-engines + (list + (make-instance 'search-engine + :shortcut "wiki" + :search-url "https://en.wikipedia.org/w/index.php?search=~a") + (make-instance 'search-engine + :shortcut "ddg" + :search-url "https://duckduckgo.com/?q=~a") + (make-instance 'search-engine + :shortcut "yt" + :search-url "https://www.youtube.com/results?search_query=~a") + (make-instance 'search-engine + :shortcut "osm" + :search-url "https://www.openstreetmap.org/search?query=~a") + (make-instance 'search-engine + :shortcut "ggl" + :search-url "https://www.google.com/search?q=~a") + (make-instance 'search-engine + :shortcut "searX" + :search-url "https://search.snopyta.org/search?q=~a" + :fallback-url "https://search.disroot.org/search?q=~a") )))) \ No newline at end of file diff --git a/user.clisp b/user.clisp new file mode 100644 index 0000000..ea8c6de --- /dev/null +++ b/user.clisp @@ -0,0 +1,9 @@ +;;; This file is exclusively used for user configuration +(in-package #:nyxt-user) + +;; NOTE(Krey): Never restore previous sessions as it's annoying on the startup and shows the history which is unwanted +(define-configuration browser + ((session-restore-prompt :never-restore)) ) + +(define-configuration password:keepassxc-interface + ((password:password-file "/home/kreyren/Cloud/Kreyren.kdbx"))) \ No newline at end of file