mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-01-04 06:42:48 +00:00
feat: improve ags
This commit is contained in:
@@ -13,13 +13,7 @@ export function initWallpaper() {
|
||||
export function wallpaper() {
|
||||
if (!dependencies(["swww"])) return;
|
||||
|
||||
execAsync([
|
||||
"swww",
|
||||
"img",
|
||||
"--transition-type",
|
||||
"grow",
|
||||
"--transition-pos",
|
||||
exec("hyprctl cursorpos").replace(" ", ""),
|
||||
options.desktop.wallpaper.img.value,
|
||||
]).catch((err) => console.error(err));
|
||||
execAsync(["swww", "img", options.desktop.wallpaper.img.value]).catch((err) =>
|
||||
console.error(err),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user