From 83b7b56eeb0be3a14aa24a1f0e6c48455db3eedb Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 12 Aug 2024 21:26:58 -0400 Subject: [PATCH] waybar: add on-click show action to sway/scratchpad --- homeManagerModules/services/waybar/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/homeManagerModules/services/waybar/default.nix b/homeManagerModules/services/waybar/default.nix index 2e64dc12..a67e276a 100644 --- a/homeManagerModules/services/waybar/default.nix +++ b/homeManagerModules/services/waybar/default.nix @@ -74,6 +74,7 @@ in { "sway/scratchpad" = { format = "{icon} {count}"; format-icons = ["" ""]; + on-click = "${lib.getExe' config.wayland.windowManager.sway.package "swaymsg"} scratchpad show"; show-empty = false; tooltip = true; tooltip-format = "{app}: {title}";