fix: set wallpaper image directly in layout JS script
lookandfeeltool's defaults [Wallpaper] section doesn't reliably set the wallpaper image path. Set it explicitly in the layout.js so it always applies.
This commit is contained in:
@@ -3,4 +3,7 @@ loadTemplate("org.kde.plasma.desktop.defaultPanel")
|
||||
var desktopsArray = desktopsForActivity(currentActivity());
|
||||
for( var j = 0; j < desktopsArray.length; j++) {
|
||||
desktopsArray[j].wallpaperPlugin = 'org.kde.image';
|
||||
desktopsArray[j].currentConfigGroup = ['Wallpaper', 'org.kde.image', 'General'];
|
||||
desktopsArray[j].writeConfig('Image', 'file:///usr/share/backgrounds/antergos/antergos-wallpaper.png');
|
||||
desktopsArray[j].writeConfig('FillMode', 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user