Hacker News new | ask | show | jobs
by speedster217 750 days ago
Can you share an example of Fennel with AwesomeWM?
1 comments

There are plenty: https://github.com/search?ref=simplesearch&q=language%3A%22F...

Here's mine, https://github.com/agzam/awesomewm.d/blob/main/src/_init.fnl

Beware though, I'm not highly experienced in using and configuring Awesome (especially for beautification), the code is not meant to be shared and it has tons of dirty parts (result of my experimentation), I only built what I needed for my personal use.

Bigger (more public) project built on Fennel is https://github.com/agzam/spacehammer It's for Hammerspoon though, and my guess you're using Linux, not Mac.

One of the aspects I still haven't figured out is the "proper Fennel REPL", it makes certain things less joyful to write or troubleshoot, but even without it, I see some benefits in using Fennel instead of Lua - it's more compact, more FP-oriented, has macros, and it's a Lisp - I can use structural editing.