diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-18 21:49:17 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-18 21:49:17 -0500 |
commit | 923eb46350b1102749eb05cd2120c96cc6a715d0 (patch) | |
tree | 811da20b4195d4b5c65c8ac0090982a4a23f6a7d /util/seasonalwallpaper.lua | |
download | awesome-923eb46350b1102749eb05cd2120c96cc6a715d0.tar.xz awesome-923eb46350b1102749eb05cd2120c96cc6a715d0.zip |
initial commit
Diffstat (limited to 'util/seasonalwallpaper.lua')
-rw-r--r-- | util/seasonalwallpaper.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/util/seasonalwallpaper.lua b/util/seasonalwallpaper.lua new file mode 100644 index 0000000..4ec3bb3 --- /dev/null +++ b/util/seasonalwallpaper.lua @@ -0,0 +1,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 |