local function shell_quote(value)
	return "'" .. value:gsub("'", "'\\''") .. "'"
end

local function config_dir()
	local source = debug.getinfo(1, "S").source:gsub("^@", "")
	return source:match("(.*/)")
end

local wallpaper = config_dir() .. "wallpaper/RooftopSunset.jpeg"

return {
	start = function()
		hl.exec_cmd("swaybg -m stretch -i " .. shell_quote(wallpaper))
	end,
}
