aboutsummaryrefslogtreecommitdiff
path: root/alternative/bspswallow
diff options
context:
space:
mode:
authorJopStro <[email protected]>2020-06-19 10:06:46 +0100
committerJopStro <[email protected]>2020-06-19 10:06:46 +0100
commit1ed1e7896089bc3bc5aae19c245791fc2b9bd310 (patch)
tree5f8784b11d113fb820d9e6a1fe666b47b4a048eb /alternative/bspswallow
parent68cf698a11018ede0bc635edee1b69e587a91ddd (diff)
Swap the main script and the alternative script
Diffstat (limited to 'alternative/bspswallow')
-rwxr-xr-x[-rw-r--r--]alternative/bspswallow2
1 files changed, 1 insertions, 1 deletions
diff --git a/alternative/bspswallow b/alternative/bspswallow
index 8e787a3..1406fcf 100644..100755
--- a/alternative/bspswallow
+++ b/alternative/bspswallow
@@ -13,7 +13,7 @@ get_class() {
swallow() {
swallowerid=$1
swallowingid=$(bspc query -n prev -N)
- cat ~/.config/bspwm/noswallow ~/.config/bspwm/terminals | grep "^$(get_class $swallowerid)$" && return
+ grep "^$(get_class $swallowerid)$" ~/.config/bspwm/swallow || return
grep "^$(get_class $swallowingid)$" ~/.config/bspwm/terminals || return
echo $swallowerid $swallowingid >> /tmp/swallowids
bspc node $swallowingid --flag hidden=on