mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
fix(themes: xresources): load fallback theme from theme_assets instead of using unthemed svg if svg libs are not installed (#3641)
This commit is contained in:
parent
29c0057795
commit
02fa372d9e
1 changed files with 4 additions and 1 deletions
|
@ -155,7 +155,10 @@ else
|
|||
end
|
||||
|
||||
if not theme.wallpaper then
|
||||
theme.wallpaper = themes_path.."xresources/wallpaper.svg"
|
||||
gdebug.print_warning("Loading fallback wallpaper.")
|
||||
theme.wallpaper = function(s)
|
||||
return theme_assets.wallpaper(wallpaper_bg, wallpaper_fg, wallpaper_alt_fg, s)
|
||||
end
|
||||
end
|
||||
|
||||
theme.wallpaper_bg = wallpaper_bg
|
||||
|
|
Loading…
Reference in a new issue