mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
add info on "on-click-middle" option
This commit is contained in:
parent
03dab1bbdd
commit
278f26e597
@ -59,6 +59,10 @@ Addressed by *custom/<name>*
|
||||
typeof: string ++
|
||||
Command to execute when clicked on the module.
|
||||
|
||||
*on-click-middle*: ++
|
||||
typeof: string ++
|
||||
Command to execute when middle-clicked on the module using mousewheel.
|
||||
|
||||
*on-click-right*: ++
|
||||
typeof: string ++
|
||||
Command to execute when you right clicked on the module.
|
||||
@ -137,6 +141,7 @@ $text\\n$tooltip\\n$class*
|
||||
"exec": "mpc current",
|
||||
"exec-if": "pgrep mpd",
|
||||
"on-click": "mpc toggle",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click-right": "sonata"
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user