From 3d95b7a927b47c94943bb8b0c04d86ac5cf37caa Mon Sep 17 00:00:00 2001 From: rope Date: Sat, 30 May 2026 11:53:56 +0100 Subject: [PATCH] anyrun: check layers not clients for toggle Anyrun is a layer-shell surface, not a regular client. Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 09487b9..1f662d1 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -262,7 +262,7 @@ in -- Apps hl.bind(mod .. " + T", hl.dsp.exec_cmd("ghostty")) hl.bind(mod .. " + E", hl.dsp.exec_cmd("nemo")) - hl.bind(mod .. " + R", hl.dsp.exec_cmd("hyprctl clients -j | grep -q anyrun && anyrun close || anyrun")) + hl.bind(mod .. " + R", hl.dsp.exec_cmd("hyprctl layers -j | grep -q anyrun && anyrun close || anyrun")) hl.bind(mod .. " + Q", hl.dsp.window.close()) hl.bind(mod .. " + SHIFT + E", hl.dsp.exit())