From 7cc00b99a15b789191230bc2b682254af53dbade Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 16 Aug 2025 21:30:12 +0700 Subject: [PATCH] bar: make right clicking right side not skip current track (closes #1456) --- .config/quickshell/ii/modules/bar/BarContent.qml | 4 +--- .../quickshell/ii/modules/verticalBar/VerticalBarContent.qml | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.config/quickshell/ii/modules/bar/BarContent.qml b/.config/quickshell/ii/modules/bar/BarContent.qml index ead5d8c8..875091e4 100644 --- a/.config/quickshell/ii/modules/bar/BarContent.qml +++ b/.config/quickshell/ii/modules/bar/BarContent.qml @@ -269,8 +269,6 @@ Item { // Bar content region onPressed: event => { if (event.button === Qt.LeftButton) { GlobalStates.sidebarRightOpen = !GlobalStates.sidebarRightOpen; - } else if (event.button === Qt.RightButton) { - MprisController.activePlayer.next(); } } @@ -417,8 +415,8 @@ Item { // Bar content region Layout.leftMargin: 8 Layout.fillHeight: true active: Config.options.bar.weather.enable + sourceComponent: BarGroup { - implicitHeight: Appearance.sizes.baseBarHeight WeatherBar {} } } diff --git a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml index 7d72eed2..b877dbb2 100644 --- a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml +++ b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml @@ -253,8 +253,6 @@ Item { // Bar content region onPressed: event => { if (event.button === Qt.LeftButton) { GlobalStates.sidebarRightOpen = !GlobalStates.sidebarRightOpen; - } else if (event.button === Qt.RightButton) { - MprisController.activePlayer.next(); } } // Scroll to change volume