Skip to main content

Using Fennel to write the config for Awesome-WM

Fennel is a Lisp that transpiles to Lua and looks a lot like Clojure. Awesome-WM is the window manager I use daily - with a from-scratch configuration.

Fetch fennel.lua and what else you need (e.g. I use Lua Functional) into your ~/.config/awesome/ directory.

Next we need to ready Fennel in ~/.config/awesome/rc.lua and run the configuration written in Fennel:

local fennel = require("fennel")
fennel.path = fennel.path .. ";.config/awesome/?.fnl"
table.insert(package.loaders or package.searchers, fennel.searcher)

My current config