diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 64b2151..09487b9 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("anyrun close || anyrun")) + hl.bind(mod .. " + R", hl.dsp.exec_cmd("hyprctl clients -j | grep -q anyrun && anyrun close || anyrun")) hl.bind(mod .. " + Q", hl.dsp.window.close()) hl.bind(mod .. " + SHIFT + E", hl.dsp.exit())