Settings: added default wallpaper, that can be usefull for nixOS.

This commit is contained in:
ItsLemmy
2025-10-04 11:34:02 -04:00
parent 04290d82cf
commit bc2fbfbd83
3 changed files with 9 additions and 7 deletions
+3 -3
View File
@@ -27,8 +27,6 @@ Singleton {
property string settingsFile: Quickshell.env("NOCTALIA_SETTINGS_FILE") || (configDir + "settings.json")
property string defaultLocation: "Tokyo"
property string defaultWallpaper: Quickshell.shellDir + "/Assets/Wallpaper/noctalia.png"
property string defaultAvatar: Quickshell.env("HOME") + "/.face"
property string defaultVideosDirectory: Quickshell.env("HOME") + "/Videos"
property string defaultWallpapersDirectory: Quickshell.env("HOME") + "/Pictures/Wallpapers"
@@ -60,6 +58,7 @@ Singleton {
adapter.general.avatarImage = defaultAvatar
adapter.screenRecorder.directory = defaultVideosDirectory
adapter.wallpaper.directory = defaultWallpapersDirectory
adapter.wallpaper.defaultWallpaper = Quickshell.shellDir + "/Assets/Wallpaper/noctalia.png"
// Set the adapter to the settingsFileView to trigger the real settings load
settingsFileView.adapter = adapter
@@ -129,7 +128,7 @@ Singleton {
JsonAdapter {
id: adapter
property int settingsVersion: 12
property int settingsVersion: 13
// bar
property JsonObject bar: JsonObject {
@@ -220,6 +219,7 @@ Singleton {
property string directory: ""
property bool enableMultiMonitorDirectories: false
property bool setWallpaperOnAllMonitors: true
property string defaultWallpaper: ""
property string fillMode: "crop"
property color fillColor: "#000000"
property bool randomEnabled: false