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