forked from Shinonome/dots-hyprland
add option to open tooltips by pressing the mouse button
This commit is contained in:
@@ -28,7 +28,7 @@ MouseArea {
|
||||
}
|
||||
|
||||
acceptedButtons: Qt.MiddleButton | Qt.BackButton | Qt.ForwardButton | Qt.RightButton | Qt.LeftButton
|
||||
hoverEnabled: true
|
||||
hoverEnabled: !Config.options.bar.tooltips.clickToShow
|
||||
onPressed: (event) => {
|
||||
if (event.button === Qt.MiddleButton) {
|
||||
activePlayer.togglePlaying();
|
||||
|
||||
Reference in New Issue
Block a user