add info on "on-click-middle" option

This commit is contained in:
fuzxi 2019-12-14 22:28:31 -08:00 committed by GitHub
parent 03dab1bbdd
commit 278f26e597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,10 @@ Addressed by *custom/<name>*
typeof: string ++ typeof: string ++
Command to execute when clicked on the module. 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*: ++ *on-click-right*: ++
typeof: string ++ typeof: string ++
Command to execute when you right clicked on the module. Command to execute when you right clicked on the module.
@ -137,6 +141,7 @@ $text\\n$tooltip\\n$class*
"exec": "mpc current", "exec": "mpc current",
"exec-if": "pgrep mpd", "exec-if": "pgrep mpd",
"on-click": "mpc toggle", "on-click": "mpc toggle",
"on-click-middle": "playerctl play-pause",
"on-click-right": "sonata" "on-click-right": "sonata"
} }
``` ```