summaryrefslogtreecommitdiff
path: root/util/seasonalwallpaper.lua
blob: 4ec3bb3d1efdeaeb2c97f18b96d1e971a6a09108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
local gears = require("gears")
local beautiful = require("beautiful")

local wallpapers_directory = gears.get_xdg_data_home() .. "wallpaper"
local spring = wallpapers_directory .. "/spring"
local summer = wallpapers_directory .. "/summer"
local fall   = wallpapers_directory .. "/fall"
local winter = wallpapers_directory .. "/winter"



--local function set_wallpaper(s)
--	-- Wallpaper
--	if beautiful.wallpaper then
--		local wallpaper = beautiful.wallpaper
--		-- If wallpaper is a function, call it with the screen
--		if type(wallpaper) == "function" then
--			wallpaper = wallpaper(s)
--		end
--		gears.wallpaper.maximized(wallpaper, s, true)
--	end
--end

function set_wallpaper()
	gt
end