Close tofi on second press of SUPER

I didn't like that if I pressed SUPER accidentally, I had to press
ESC which is somewhere compleatly different on the keyboard. This
way it's much easier to close tofi.
This commit is contained in:
Jeena 2025-12-16 07:55:01 +09:00
parent de7375bfb7
commit d018b60fe2

View file

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
pkill tofi-drun || tofi-drun --drun-launch=true pgrep tofi-drun && pkill tofi-drun || tofi-drun --drun-launch=true