Merge pull request #128 from cuu/master

update awesome config ,set new background wallpaper in hdmi
This commit is contained in:
GNU 2018-12-14 18:48:56 +08:00 committed by GitHub
commit e3ffcf3908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 1 deletions

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

After

Width:  |  Height:  |  Size: 403 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

After

Width:  |  Height:  |  Size: 403 KiB

View File

@ -78,6 +78,7 @@ theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/defau
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
theme.wallpaper = "~/launcher/sys.py/gameshell/wallpaper/loading.png"
theme.wallpaperpc = "~/launcher/sys.py/gameshell/wallpaper/desktopbg.jpg"
-- You can use your own layout icons like this:
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB