refaktor
This commit is contained in:
@@ -4,8 +4,7 @@ import QtQuick.Controls
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Io
|
||||
import Qt.labs.folderlistmodel
|
||||
import "../../colors"
|
||||
import "../../states/wallpaperdir" as Global
|
||||
import "../../config"
|
||||
|
||||
PanelWindow {
|
||||
id: picker
|
||||
@@ -206,7 +205,7 @@ PanelWindow {
|
||||
anchors.fill: parent
|
||||
Process {
|
||||
id: wallpaperProcess
|
||||
command: ["sh", "-c", Quickshell.env("HOME") + "/.config/quickshell/modules/wp/set-wallpaper.sh" + " " + model.filePath + " &"]
|
||||
command: ["sh", "-c", Config.configDir + "/modules/wp/set-wallpaper.sh" + " " + model.filePath + " &"]
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: console.log('line read:', this.text)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user