Fennel Repl In Awesome Repl
Interact with your running AwesomeWM session from inside Emacs, using Fennel, a lua-based Lisp.
Interested in using Fennel for writing your own AwesomeWM configuration?
Check the starter-kit
included in this repo.
It contains an rc.lua
that bootstraps loading the provided config.fnl
file,
which is a line-for-line translation of the default AwesomeWM configuration.
Via use-package
with straight.el
:
(use-package friar
:straight (:host github :repo "warreq/friar" :branch "master"
:files (:defaults "*.lua" "*.fnl")))
M-x friar
and he's ready to serve you.
Try slapping this into your .xinitrc
to ensure you have a DBUS_SESSION_BUS_ADDRESS
,
which Emacs needs in order to connect to your D-Bus.
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
Make sure dbus-launch
exists on your path -- you may need to install a package like dbus-x11
.