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

@ -77,7 +77,8 @@ theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/def
theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png" theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png" 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.wallpaper = "~/launchergo/sysgo/gameshell/wallpaper/loading.png"
theme.wallpaperpc = "~/launchergo/sysgo/gameshell/wallpaper/desktopbg.jpg"
-- You can use your own layout icons like this: -- You can use your own layout icons like this:
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png" theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB