19 lines
500 B
Lua
19 lines
500 B
Lua
local awful = require("awful")
|
|
local beautiful = require("beautiful")
|
|
local gears = require("gears")
|
|
local home = os.getenv("HOME")
|
|
|
|
beautiful.init(home .. "/.config/awesome/theme/crylia/theme.lua")
|
|
|
|
if(RC.vars.wallpaper) then
|
|
local wallpaper = RC.vars.wallpaper
|
|
if awful.util.file_readable(wallpaper) then
|
|
Theme.wallpaper = wallpaper
|
|
end
|
|
end
|
|
|
|
if beautiful.wallpaper then
|
|
for s = 1, screen.count() do
|
|
gears.wallpaper.maximized(beautiful.wallpaper, s, true)
|
|
end
|
|
end |