-
-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
I've bound $mainMod to hyprlauncher using bindl=$mainMod, SUPER_L, exec, hyprlauncher.
The thing is that if I regret to launch a program, I don't like to pressing Esc to exit the launcher but simply hitting $mainMod again.
If I use something like bindl=$mainMod, SUPER_L, exec, pkill hyprlauncher || hyprlauncher that would also kill the daemon, and even though it will work, it's not elegant.
Another approach is to use a script, but I've found that inconvenient.
#!/usr/bin/env bash
if hyprctl clients -j | jq -e '.[] | select(.class == "hyprlauncher")' > /dev/null 2>&1; then
hyprctl dispatch killactive
else
hyprlauncher
fiSo the feature request is to have a toggle flag to close the hyprlauncher window if it's opened.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels