From 278f26e5977cd3d480ded00726ffc396a0afba77 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sat, 14 Dec 2019 22:28:31 -0800 Subject: [PATCH 01/14] add info on "on-click-middle" option --- man/waybar-custom.5.scd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/waybar-custom.5.scd b/man/waybar-custom.5.scd index a427be38..4c804c80 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" } ``` From 2aaf5510b8631591c5d6ec540e6d851859d41eed Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:06:23 -0800 Subject: [PATCH 02/14] Update waybar-backlight.5.scd --- man/waybar-backlight.5.scd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man/waybar-backlight.5.scd b/man/waybar-backlight.5.scd index 2d971997..8df118bc 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. From 3bb03852fee6f3df84a651b80de617e65ae2b852 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:07:07 -0800 Subject: [PATCH 03/14] Update waybar-battery.5.scd --- man/waybar-battery.5.scd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/waybar-battery.5.scd b/man/waybar-battery.5.scd index 94a99e4f..7f90cd4d 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 ++ From 73bb42d40cd9ab5ad1dea04e339397ff2d051920 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:07:23 -0800 Subject: [PATCH 04/14] Update waybar-clock.5.scd --- man/waybar-clock.5.scd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/waybar-clock.5.scd b/man/waybar-clock.5.scd index d979a673..720aca43 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 ++ From ecce607afe1e0e1cd0c026f11bcb2e614bfceddc Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:07:38 -0800 Subject: [PATCH 05/14] Update waybar-cpu.5.scd --- man/waybar-cpu.5.scd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/waybar-cpu.5.scd b/man/waybar-cpu.5.scd index e4e52504..d6333678 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. From a94d5c5ff22bf01a4f154bf32f25a71a9db3ad59 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:08:15 -0800 Subject: [PATCH 06/14] Update waybar-disk.5.scd --- man/waybar-disk.5.scd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/waybar-disk.5.scd b/man/waybar-disk.5.scd index 2a69cf49..e0b924f2 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. From ad08130b52616229a5a7dd8c6947b39bcb93971c Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:08:27 -0800 Subject: [PATCH 07/14] Update waybar-idle-inhibitor.5.scd --- man/waybar-idle-inhibitor.5.scd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/waybar-idle-inhibitor.5.scd b/man/waybar-idle-inhibitor.5.scd index 74e21928..1a8dd40c 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. From 1a05e230b915134992900b7b75ad20da15208c7e Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:08:41 -0800 Subject: [PATCH 08/14] Update waybar-memory.5.scd --- man/waybar-memory.5.scd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/waybar-memory.5.scd b/man/waybar-memory.5.scd index a9dfb3ab..3fbbb29d 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. From ac8e892cbd4333fbf6311580925a5e6c4009b1d8 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:09:08 -0800 Subject: [PATCH 09/14] Update waybar-mpd.5.scd --- man/waybar-mpd.5.scd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/waybar-mpd.5.scd b/man/waybar-mpd.5.scd index 155e7b30..d6661a3f 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 ++ From 6895b3b6b699954b4272ff70909db6c6462a6fa7 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:09:33 -0800 Subject: [PATCH 10/14] Update waybar-network.5.scd --- man/waybar-network.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/waybar-network.5.scd b/man/waybar-network.5.scd index ed8451f4..d24abe97 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. From b2cec74c04db8a9272037c2116149a18e0027455 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:09:44 -0800 Subject: [PATCH 11/14] Update waybar-pulseaudio.5.scd --- man/waybar-pulseaudio.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/waybar-pulseaudio.5.scd b/man/waybar-pulseaudio.5.scd index 2b117782..3ade2e9b 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 ++ From 548589ee5df44da161d95182d3a99d983509b765 Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:10:14 -0800 Subject: [PATCH 12/14] Update waybar-sway-mode.5.scd --- man/waybar-sway-mode.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/waybar-sway-mode.5.scd b/man/waybar-sway-mode.5.scd index 64d9a3e8..15834db4 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 ++ From a307042d6b60de74d88d28bd572025bd1cb18abf Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:10:26 -0800 Subject: [PATCH 13/14] Update waybar-sway-window.5.scd --- man/waybar-sway-window.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/waybar-sway-window.5.scd b/man/waybar-sway-window.5.scd index 75a974c4..d5f6f8f4 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 ++ From 6c3cb7c85aa42f743c1dfb55221d4ad251e257cf Mon Sep 17 00:00:00 2001 From: fuzxi <33790641+fuzxi@users.noreply.github.com> Date: Sun, 15 Dec 2019 15:11:06 -0800 Subject: [PATCH 14/14] Update waybar-temperature.5.scd --- man/waybar-temperature.5.scd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/waybar-temperature.5.scd b/man/waybar-temperature.5.scd index 8177969e..1d924e0e 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 ++