From fbb365066f81029e35941e0528be9b3e33d86280 Mon Sep 17 00:00:00 2001 From: Paul Iannetta Date: Thu, 21 Apr 2022 23:24:14 +0200 Subject: add nyxt browser config --- .config/nyxt/my-slynk.lisp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .config/nyxt/my-slynk.lisp (limited to '.config/nyxt/my-slynk.lisp') diff --git a/.config/nyxt/my-slynk.lisp b/.config/nyxt/my-slynk.lisp new file mode 100644 index 0000000..add22e8 --- /dev/null +++ b/.config/nyxt/my-slynk.lisp @@ -0,0 +1,6 @@ +(define-command-global start-slynk (&optional (slynk-port *swank-port*)) + "Start a Slynk server that can be connected to, for instance, in Emacs via SLY. + +Warning: This allows Nyxt to be controlled remotely, that is, to execute arbitrary code with the priviledges of the user running Nyxt. Make sure you understand the security rirks associated with this before running this command." + (slynk:create-server :port slynk-port :dont-close t) + (echo "Slynk server started at port ~a" slynk-port)) -- cgit v1.2.3-54-g00ecf