Files
AwesomeWM-Config/main/user_vars.lua
2025-12-30 13:23:54 -07:00

27 lines
484 B
Lua

local awful = require("awful")
local _M = {}
function _M.get()
local _V = {}
awful.spawn.with_shell("picom -b")
awful.spawn.with_shell("nm-applet")
_V = {
terminal = "alacritty",
editor = os.getenv("EDITOR") or "nvim",
modkey = "Mod4",
wallpaper = os.getenv("HOME") .. "/.config/awesome/theme/background.jpg",
}
_V.editor_cmd = _V.terminal .. " -e " .. _V.editor
return _V
end
return setmetatable({}, {
__call = function(_, ...)
return _M.get(...)
end,
})