add matugen support for hyprland
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import QtQuick
|
||||
|
||||
@@ -36,15 +35,14 @@ Item {
|
||||
var index = Math.floor(Math.random() * wallpapers.length);
|
||||
var path = wallpapers[index];
|
||||
|
||||
// console.log("wallpaper set to " + path);
|
||||
|
||||
wallpaperProcess.command = ["awww", "img", path, "--transition-type", "grow", "--transition-fps", "60", "--transition-duration", "0.6"];
|
||||
wallpaperProcess.command = ["matugen", "image", path]
|
||||
console.log("Running command: " + wallpaperProcess.command);
|
||||
|
||||
wallpaperProcess.running = true;
|
||||
}
|
||||
|
||||
Timer {
|
||||
interval: 60000
|
||||
interval: 60000 * 15 // every 15 minutes
|
||||
running: true
|
||||
repeat: true
|
||||
onTriggered: wallpaperHolder.setRandomWallpaper()
|
||||
|
||||
Reference in New Issue
Block a user