update awesome,add desktopbg.jpg

This commit is contained in:
cuu
2018-12-14 13:05:58 +00:00
parent f81297bf66
commit f72a4fa5a5
5 changed files with 6 additions and 3 deletions

View File

@@ -180,6 +180,8 @@ local function set_wallpaper(s)
-- Wallpaper
if beautiful.wallpaper then
local wallpaper = beautiful.wallpaper
local wallpaperpc = beautiful.wallpaperpc
-- If wallpaper is a function, call it with the screen
if type(wallpaper) == "function" then
wallpaper = wallpaper(s)
@@ -187,8 +189,8 @@ local function set_wallpaper(s)
-- wallpaper only in PC
if s.geometry.width > 320 then
gears.wallpaper.centered(wallpaper, s, 1)
end
gears.wallpaper.centered(wallpaperpc, s, 1)
end
end
end