We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 085849f commit 2c4fa17Copy full SHA for 2c4fa17
1 file changed
src/main.js
@@ -19,6 +19,7 @@ import {DialogManager} from './utils/DialogManager.js';
19
import {ThemeManager} from './services/theme-manager.js';
20
import {ThemeExporter} from './services/ThemeExporter.js';
21
import {BlueprintService} from './services/BlueprintService.js';
22
+import {ensureDirectoryExists} from './utils/file-utils.js';
23
24
Adw.init();
25
@@ -39,6 +40,13 @@ const AetherApplication = GObject.registerClass(
39
40
this.themeManager = themeManager;
41
this._wallpaperPath = null;
42
43
+ // Ensure ~/Wallpapers directory exists
44
+ const wallpapersDir = GLib.build_filenamev([
45
+ GLib.get_home_dir(),
46
+ 'Wallpapers',
47
+ ]);
48
+ ensureDirectoryExists(wallpapersDir);
49
+
50
this.add_main_option(
51
'wallpaper',
52
'w'.charCodeAt(0),
0 commit comments