From 93e56a12d85df2e1aee2af2898728660bbecc6f4 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 9 Jun 2023 19:05:18 +0200 Subject: added my nyxt configs --- .config/nyxt/commands.lisp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .config/nyxt/commands.lisp (limited to '.config/nyxt/commands.lisp') diff --git a/.config/nyxt/commands.lisp b/.config/nyxt/commands.lisp new file mode 100644 index 0000000..159916f --- /dev/null +++ b/.config/nyxt/commands.lisp @@ -0,0 +1,9 @@ +(in-package #:nyxt-user) + +(define-command-global show-weather () + (echo (uiop:run-program "~/.config/nyxt/scripts/weather" :output :string))) + +;;opens current url in different browser replace firefox with your browser/path +(define-command-global open-external-browser () + "Open the current url in external browser" + (uiop:run-program (list "firefox-bin" (render-url (url (current-buffer)))))) -- cgit v1.2.3