Closed tarwinmuralli closed 4 years ago
Not entirely sure what your issue is, but if you are refering to programs that do not originate from the terminal (such as from dmenu) then this is a known byproduct of how the script works. It can be circumvented by temporaraly disabling the script while spawning the window (an example using dmenu_run exists in the examples directory)
You can create a script in your path that looks something like this:
File: sxhkd_noswallow
#!/bin/sh
killall bspswallow
eval "$1" >/dev/null
sleep 2
bspswallow &
And then you call your programs in your sxhkdrc like this:
ctrl + alt + f
sxhkd_noswallow firefox
Thank you very much iosevka-soz. JopStro should probably add this this script inside the script folder
Swallow everything spawned with the terminal on focus Steps to reproduce:
if the terminal is not focused it works fine or is it part of the feature