From e56e607110f88f0da011137b9f32242572bdc58a Mon Sep 17 00:00:00 2001 From: Uyanide Date: Thu, 12 Mar 2026 00:35:20 +0100 Subject: [PATCH] qs: fix --- .../quickshell/Modules/Sidebar/Modules/WallpaperCard.qml | 5 +++-- .../.config/quickshell/Services/BackgroundService.qml | 7 +++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/quickshell/.config/quickshell/Modules/Sidebar/Modules/WallpaperCard.qml b/config/quickshell/.config/quickshell/Modules/Sidebar/Modules/WallpaperCard.qml index 2f74f7e..27682bd 100644 --- a/config/quickshell/.config/quickshell/Modules/Sidebar/Modules/WallpaperCard.qml +++ b/config/quickshell/.config/quickshell/Modules/Sidebar/Modules/WallpaperCard.qml @@ -22,11 +22,12 @@ RowLayout { MouseArea { anchors.fill: parent acceptedButtons: Qt.LeftButton - onClicked: BackgroundService.toggleChooser() + onClicked: BackgroundService.openChooser() cursorShape: Qt.PointingHandCursor } Rectangle { + visible: WallpaperCycle.enabled anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left width: Style.marginS @@ -70,7 +71,7 @@ RowLayout { baseSize: Style.baseWidgetSize * 0.8 iconName: WallpaperCycle.enabled ? "player-pause" : "player-play" colorFg: WallpaperCycle.enabled ? Colors.mGreen : Colors.mRed - alwaysHover: !WallpaperCycle.enabled + alwaysHover: WallpaperCycle.enabled onClicked: WallpaperCycle.playPause() } diff --git a/config/quickshell/.config/quickshell/Services/BackgroundService.qml b/config/quickshell/.config/quickshell/Services/BackgroundService.qml index efc421e..c4d46d5 100644 --- a/config/quickshell/.config/quickshell/Services/BackgroundService.qml +++ b/config/quickshell/.config/quickshell/Services/BackgroundService.qml @@ -62,11 +62,10 @@ Singleton { }); } - function toggleChooser() { - if (wallreelProcess.running) - wallreelProcess.signal(2); - else + function openChooser() { + if (!wallreelProcess.running) wallreelProcess.running = true; + } Component.onCompleted: {