From dfd7edc54053c7e8802e622c285c9cabf1a8a022 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Tue, 2 Sep 2025 19:55:06 -0400 Subject: [PATCH] Settings: better default folder for wallpapers and videos --- Commons/Settings.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Commons/Settings.qml b/Commons/Settings.qml index f5416b0..cb10f6f 100644 --- a/Commons/Settings.qml +++ b/Commons/Settings.qml @@ -22,8 +22,9 @@ Singleton { property string settingsFile: Quickshell.env("NOCTALIA_SETTINGS_FILE") || (configDir + "settings.json") - property string defaultWallpaper: Qt.resolvedUrl("../Assets/Tests/wallpaper.png") property string defaultAvatar: Quickshell.env("HOME") + "/.face" + property string defaultWallpapersDirectory: Quickshell.env("HOME") + "/Pictures/Wallpapers" + property string defaultVideosDirectory: Quickshell.env("HOME") + "/Videos" // Used to access via Settings.data.xxx.yyy readonly property alias data: adapter @@ -165,7 +166,7 @@ Singleton { // screen recorder property JsonObject screenRecorder: JsonObject { - property string directory: "~/Videos" + property string directory: defaultVideosDirectory property int frameRate: 60 property string audioCodec: "opus" property string videoCodec: "h264" @@ -179,7 +180,7 @@ Singleton { // wallpaper property JsonObject wallpaper: JsonObject { property bool enabled: true - property string directory: "/usr/share/wallpapers" + property string directory: defaultWallpapersDirectory property bool enableMultiMonitorDirectories: false property bool setWallpaperOnAllMonitors: true property string fillMode: "crop"