From d2c5ca90f94f35941f2d7e69c9909cbb50a044d1 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 17 Jan 2025 08:22:10 +0300 Subject: [PATCH] Waybar: RMC on displaywidget to stop recording. --- home/file/waybar/config/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/file/waybar/config/default.nix b/home/file/waybar/config/default.nix index 943a4f8..220a815 100644 --- a/home/file/waybar/config/default.nix +++ b/home/file/waybar/config/default.nix @@ -181,7 +181,7 @@ in exec = "swayscript displaywidget"; on-click = "sleep 0.1 && swayscript dnd"; # HACK: https://github.com/Alexays/Waybar/issues/2166 & https://github.com/Alexays/Waybar/issues/1968 on-click-middle = "sleep 0.1 && swayscript displayreset"; - on-click-right = "sleep 0.1 && swayscript monitor"; + on-click-right = "sleep 0.1 && pkill wf-recorder"; return-type = "json"; signal = 4; };