DrPyser / configs

Configurations for personal computer
2 stars 0 forks source link

bspwm: custom tagging #5

Open DrPyser opened 4 years ago

DrPyser commented 4 years ago

window selection is currently implemented through a small python script: https://github.com/DrPyser/configs/blob/master/home/bin/select_window.py

This uses dmenu to provide a list of all windows by title(prepended with an index to help disambiguate between windows with the same title). This works pretty well.

Alternatively, It could be interesting to support window/node selection using custom tags, as with i3's mark feature: https://i3wm.org/docs/userguide.html#vim_like_marks . It seems to me this would require storing window tag information separately, and implementing command(s) to manipulate that data. Basically, a small wrapper around an sqlite table or equivalent storage backend(e.g. in-memory key/value store). see https://github.com/baskerville/bspwm/issues/1049 .

Alternatively, using intuitively named desktops, and dynamic desktop management, could also help window selection(i.e. web browser windows always go to a web desktop, ...).