chore: migrate runner and plugins to ags v3 and gtk4

This commit is contained in:
retrozinndev
2025-07-06 19:54:58 -03:00
parent 2df219ec80
commit 3b03c434b5
7 changed files with 168 additions and 217 deletions
+5 -2
View File
@@ -1,10 +1,11 @@
import { Gio } from "astal";
import { Wallpaper } from "../../scripts/wallpaper";
import { Runner } from "../Runner";
import { ResultWidget, ResultWidgetProps } from "../../widget/runner/ResultWidget";
import Gio from "gi://Gio?version=2.0";
export class PluginWallpapers implements Runner.Plugin {
class _PluginWallpapers implements Runner.Plugin {
prefix = "#";
prioritize = true;
#files: (Array<string>|undefined);
@@ -39,3 +40,5 @@ export class PluginWallpapers implements Runner.Plugin {
} as ResultWidgetProps);
}
}
export const PluginWallpapers = new _PluginWallpapers();