mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
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