diff --git a/man/waybar-backlight.5.scd b/man/waybar-backlight.5.scd index 2d97199..8df118b 100644 --- a/man/waybar-backlight.5.scd +++ b/man/waybar-backlight.5.scd @@ -35,7 +35,11 @@ The *backlight* module displays the current backlight level. *on-click* ++ typeof: string ++ Command to execute when the module is clicked. - + +*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 the module is right clicked. diff --git a/man/waybar-battery.5.scd b/man/waybar-battery.5.scd index 94a99e4..7f90cd4 100644 --- a/man/waybar-battery.5.scd +++ b/man/waybar-battery.5.scd @@ -53,6 +53,11 @@ The *battery* module displays the current capacity and state (eg. charging) of y *on-click* ++ 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 ++ diff --git a/man/waybar-clock.5.scd b/man/waybar-clock.5.scd index d979a67..720aca4 100644 --- a/man/waybar-clock.5.scd +++ b/man/waybar-clock.5.scd @@ -31,6 +31,10 @@ The *clock* module displays the current date and time. *on-click*: ++ 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 ++ diff --git a/man/waybar-cpu.5.scd b/man/waybar-cpu.5.scd index e4e5250..d633367 100644 --- a/man/waybar-cpu.5.scd +++ b/man/waybar-cpu.5.scd @@ -36,6 +36,11 @@ The *cpu* module displays the current cpu utilization. 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. diff --git a/man/waybar-custom.5.scd b/man/waybar-custom.5.scd index a427be3..4c804c8 100644 --- a/man/waybar-custom.5.scd +++ b/man/waybar-custom.5.scd @@ -59,6 +59,10 @@ Addressed by *custom/* 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" } ``` diff --git a/man/waybar-disk.5.scd b/man/waybar-disk.5.scd index 2a69cf4..e0b924f 100644 --- a/man/waybar-disk.5.scd +++ b/man/waybar-disk.5.scd @@ -39,6 +39,10 @@ Addressed by *disk* 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. diff --git a/man/waybar-idle-inhibitor.5.scd b/man/waybar-idle-inhibitor.5.scd index 74e2192..1a8dd40 100644 --- a/man/waybar-idle-inhibitor.5.scd +++ b/man/waybar-idle-inhibitor.5.scd @@ -31,6 +31,11 @@ screensaving, also known as "presentation mode". typeof: string ++ Command to execute when clicked on the module. A click also toggles the state +*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. diff --git a/man/waybar-memory.5.scd b/man/waybar-memory.5.scd index a9dfb3a..3fbbb29 100644 --- a/man/waybar-memory.5.scd +++ b/man/waybar-memory.5.scd @@ -38,6 +38,10 @@ Addressed by *memory* 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. diff --git a/man/waybar-mpd.5.scd b/man/waybar-mpd.5.scd index 155e7b3..d6661a3 100644 --- a/man/waybar-mpd.5.scd +++ b/man/waybar-mpd.5.scd @@ -76,6 +76,10 @@ Addressed by *mpd* *on-click*: ++ 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 ++ diff --git a/man/waybar-network.5.scd b/man/waybar-network.5.scd index ed8451f..d24abe9 100644 --- a/man/waybar-network.5.scd +++ b/man/waybar-network.5.scd @@ -54,6 +54,12 @@ Addressed by *network* 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. diff --git a/man/waybar-pulseaudio.5.scd b/man/waybar-pulseaudio.5.scd index 2b11778..3ade2e9 100644 --- a/man/waybar-pulseaudio.5.scd +++ b/man/waybar-pulseaudio.5.scd @@ -58,6 +58,12 @@ Additionally you can control the volume by scrolling *up* or *down* while the cu *on-click*: ++ 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 ++ diff --git a/man/waybar-sway-mode.5.scd b/man/waybar-sway-mode.5.scd index 64d9a3e..15834db 100644 --- a/man/waybar-sway-mode.5.scd +++ b/man/waybar-sway-mode.5.scd @@ -28,6 +28,12 @@ Addressed by *sway/mode* *on-click*: ++ 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 ++ diff --git a/man/waybar-sway-window.5.scd b/man/waybar-sway-window.5.scd index 75a974c..d5f6f8f 100644 --- a/man/waybar-sway-window.5.scd +++ b/man/waybar-sway-window.5.scd @@ -28,6 +28,12 @@ Addressed by *sway/window* *on-click*: ++ 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 ++ diff --git a/man/waybar-temperature.5.scd b/man/waybar-temperature.5.scd index 8177969..1d924e0 100644 --- a/man/waybar-temperature.5.scd +++ b/man/waybar-temperature.5.scd @@ -53,6 +53,10 @@ Addressed by *temperature* *on-click*: ++ typeof: string ++ Command to execute when you 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 ++