anyrun: check layers not clients for toggle
Anyrun is a layer-shell surface, not a regular client. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
53d486ee68
commit
3d95b7a927
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue