forked from Shinonome/dots-hyprland
bar: right click right side for next track
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user