aboutsummaryrefslogtreecommitdiff
path: root/alternative
diff options
context:
space:
mode:
Diffstat (limited to 'alternative')
-rw-r--r--alternative/bspswallow1
1 files changed, 1 insertions, 0 deletions
diff --git a/alternative/bspswallow b/alternative/bspswallow
index de575e7..3ae2bfe 100644
--- a/alternative/bspswallow
+++ b/alternative/bspswallow
@@ -14,6 +14,7 @@ swallow() {
swallowerid=$1
swallowingid=$(bspc query -n prev -N)
grep "^$(get_class $swallowerid)$" ~/.config/bspwm/noswallow && return
+ grep "^$(get_class $swallowerid)$" ~/.config/bspwm/terminals && return
grep "^$(get_class $swallowingid)$" ~/.config/bspwm/terminals || return
echo $swallowerid $swallowingid >> /tmp/swallowids
bspc node $swallowingid --flag hidden=on