bar: right click right side for next track

This commit is contained in:
end-4 2025-04-24 09:36:58 +02:00
parent 042c8dd461
commit 3c38bb3a72

View file

@ -6,6 +6,7 @@ import QtQuick.Controls
import QtQuick.Layouts
import Quickshell
import Quickshell.Io
import Quickshell.Services.Mpris
Scope {
id: bar
@ -258,6 +259,9 @@ Scope {
if (event.button === Qt.LeftButton) {
openSidebarRight.running = true
}
else if (event.button === Qt.RightButton) {
MprisController.activePlayer.next()
}
}
// Scroll to change volume
WheelHandler {