diff --git a/Helpers/SearchWallpapers.qml b/Helpers/SearchWallpapers.qml index 2c806b1..ba1b42f 100644 --- a/Helpers/SearchWallpapers.qml +++ b/Helpers/SearchWallpapers.qml @@ -19,7 +19,7 @@ Searcher { function setWallpaper(path: string): void { actualCurrent = path; WallpaperPath.currentWallpaperPath = path; - Quickshell.execDetached(["python3", Quickshell.shellPath("scripts/LockScreenBg.py"), `--input_image=${root.actualCurrent}`, `--output_path=${Paths.state}/lockscreen_bg.png`]); + Quickshell.execDetached(["sh", "-c", `python3 ${Quickshell.shellPath("scripts/LockScreenBg.py")} --input_image=${root.actualCurrent} --output_path=${Paths.state}/lockscreen_bg.png`]); } function preview(path: string): void { @@ -29,7 +29,7 @@ Searcher { function stopPreview(): void { showPreview = false; - Quickshell.execDetached(["python3", Quickshell.shellPath("scripts/SchemeColorGen.py"), `--path=${root.actualCurrent}`, `--thumbnail=${Paths.cache}/imagecache/thumbnail.jpg`, `--output=${Paths.state}/scheme.json`, `--scheme=${Config.colors.schemeType}`]); + Quickshell.execDetached(["sh", "-c", `python3 ${Quickshell.shellPath("scripts/SchemeColorGen.py")} --path=${root.actualCurrent} --thumbnail=${Paths.cache}/imagecache/thumbnail.jpg --output=${Paths.state}/scheme.json --scheme=${Config.colors.schemeType}`]); } list: wallpapers.entries diff --git a/Modules/AudioWidget.qml b/Modules/AudioWidget.qml index 1dc5625..c58fafa 100644 --- a/Modules/AudioWidget.qml +++ b/Modules/AudioWidget.qml @@ -64,7 +64,7 @@ Item { Layout.alignment: Qt.AlignVCenter font.pixelSize: 18 text: "volume_up" - color: root.textColor + color: Pipewire.defaultAudioSink?.audio.muted ? DynamicColors.palette.m3error : root.textColor } Rectangle { @@ -84,8 +84,7 @@ Item { implicitWidth: parent.width * ( Pipewire.defaultAudioSink?.audio.volume ?? 0 ) radius: parent.radius - color: root.barColor - + color: Pipewire.defaultAudioSink?.audio.muted ? DynamicColors.palette.m3error : root.barColor Behavior on color { CAnim {} } @@ -96,7 +95,7 @@ Item { Layout.alignment: Qt.AlignVCenter font.pixelSize: 18 text: Pipewire.defaultAudioSource?.audio.muted ? "mic_off" : "mic" - color: ( Pipewire.defaultAudioSource?.audio.muted ?? false ) ? (Config.useDynamicColors ? DynamicColors.palette.m3onError : "#ff4444") : root.textColor + color: ( Pipewire.defaultAudioSource?.audio.muted ?? false ) ? (Config.useDynamicColors ? DynamicColors.palette.m3error : "#ff4444") : root.textColor } Rectangle {