aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 3f580f1b0ccc1287777af58ed9cc29406a6afa9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# bspswallow
Adds functionality provided by the dwm "swallow" patch to bspwm.

This branch uses baskerville's xwinfo instead of xprop and sed, possibly increasing the speed.

# Dependencies

* bspwm (obviously)
* xwinfo (https://github.com/baskerville/xwinfo or on AUR as xwinfo-git)

# Installation
Add two files to ~/.config/bspwm

* noswallow - list of classes of windows that you don't want to swallow the terminal

* terminals - list of classes of terminals that you want to be swallowed

If a class isn't available (such as with xev) use 'N/A' to set for all (this shouldn't be an issue as xev is most likely the only case)

(example files are included in "examples")

Place bspswallow into your PATH and add the following line to your bspwmrc.

```
pgrep bspswallow || bspswallow &
```

Now just restart bspwm and you're good to go.

# Known Issues

* Incompatability with LibreOffice due to it having a splash screen and spawning multiple windows, use --no-logo when launching and turn off "Tip of the day" in order to avoid this issue.
* Due to the way the script works, programs opened with dmenu_run will still swallow the teminal. This issue can be avoided by using the script noswallow_dmenu in examples/scripts instead of dmenu_run.