diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-06-09 19:05:18 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-06-09 19:05:18 +0200 |
| commit | 93e56a12d85df2e1aee2af2898728660bbecc6f4 (patch) | |
| tree | f1ad25786f0ae961691e5b32a0fe72a2ce8a8849 /.config/nyxt/commands.lisp | |
| parent | 70980c2c53e9fc3cadd2f6eacd085dc0297f65b6 (diff) | |
added my nyxt configs
Diffstat (limited to '.config/nyxt/commands.lisp')
| -rw-r--r-- | .config/nyxt/commands.lisp | 9 |
1 files changed, 9 insertions, 0 deletions
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)))))) |
