Grimoire

Living with bspwm

Published:
This is part of the ap­pli­ca­tions col­lec­tion.

Get the win­dow name

Setting rules for bspwm is ac­tu­ally very straight­for­ward, as­sum­ing one knows the ex­act win­dow ti­tle.

To get this, it’s of­ten eas­i­est to just use xprop.

This al­lows for a work­flow as sim­ple as run­ning this com­mand and click­ing the ap­pli­ca­tion win­dow in ques­tion.

xprop | grep WM_CLASS

This works best when com­bined with a scratch­pad style drop­down ter­mi­nal.