mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-14 18:14:21 +00:00
Wallpaper: added IPC to set a wallpaper
qs -c noctalia-shell ipc call wallpaper set $path $monitor $monitor can be a monitor name or "all" or "" to assign to all monitors.
This commit is contained in:
@@ -210,9 +210,9 @@ ColumnLayout {
|
||||
hoverEnabled: true
|
||||
onPressed: {
|
||||
if (Settings.data.wallpaper.setWallpaperOnAllMonitors) {
|
||||
WallpaperService.changeWallpaper(undefined, wallpaperPath)
|
||||
WallpaperService.changeWallpaper(wallpaperPath, undefined)
|
||||
} else if (screen) {
|
||||
WallpaperService.changeWallpaper(screen.name, wallpaperPath)
|
||||
WallpaperService.changeWallpaper(wallpaperPath, screen.name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user