panik
This commit is contained in:
19
awesome/Main/Theme.lua
Normal file
19
awesome/Main/Theme.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user