dotfiles/awesome
2023-02-05 07:09:48 -06:00
..
bling static bling and rubato 2022-05-17 11:12:22 -05:00
keys moved to personal fennel config for awesome and added qutebrowser 2020-10-13 17:35:26 -05:00
rubato static bling and rubato 2022-05-17 11:12:22 -05:00
widgets adding widgets dir 2021-10-11 09:16:54 -05:00
fennel.lua making init work with a slightly updated fennel 2022-04-01 13:19:29 -05:00
fennelview.fnl Making mpv load centered on both monitors 2020-12-09 09:36:08 -06:00
init.fnl switching back to X with Awesome 2023-01-31 16:42:57 -06:00
keybindings.fnl small description of keybindings 2022-11-28 09:43:15 -06:00
notifications.fnl making awesome work again 2021-09-29 10:31:52 -05:00
rc.lua idk what this is 2022-05-18 09:43:21 -05:00
README.org fixing link 2022-12-06 12:54:02 -06:00
rules.fnl alot of messing with what I like for a desktop 2023-02-05 07:09:48 -06:00
theme.lua lots 2022-04-11 17:33:12 -05:00

#+TITLE:AwesomeWM in Fennel

To get us started we need to bootstrap fennel in order to get Awesome to load .fnl files.

To do that, ensure that fennel is installed.

pacman -Syu fennel

Then use this for you're rc.lua

fennel = require("fennel")
local gears = require("gears")
local naughty = require("naughty")
cfgDir = os.getenv("HOME") .. "/.config/awesome/"
-- package.path = cfgDir .. "?.lua"
fennel.path = fennel.path .. ";" .. cfgDir .. "?.fnl;"


-- naughty.notification{ title = "YAY RC LOADED"}

searcher = fennel.make_searcher({
      correlate = true,
         useMetadata = true,
         -- disable strict checking.
         -- TODO: assemble a full list of globals so we can enable this
         -- allowedGlobals = false
   })

table.insert(package.loaders or package.searchers, fennel.searcher)
debug.traceback = fennel.traceback

-- require("lib")
require("init") -- load ~/.config/awesome/init.fnl

Now everything can be configured in your init.fnl.

To learn more about fennel go here. https://fennel-lang.org/tutorial