mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
bar: right click right side for next track
This commit is contained in:
parent
042c8dd461
commit
3c38bb3a72
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue