mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-25 13:22:53 +01:00
update awesome config ,set new background wallpaper in hdmi
This commit is contained in:
@@ -180,6 +180,7 @@ 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,7 +188,7 @@ local function set_wallpaper(s)
|
||||
|
||||
-- wallpaper only in PC
|
||||
if s.geometry.width > 320 then
|
||||
gears.wallpaper.centered(wallpaper, s, 1)
|
||||
gears.wallpaper.centered(wallpaperpc, s, 1)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user