There is this itch that tiling window manager users feel. Whether it is caused by surfing the world of r/unix or the want for change, it might be useful to have a way to easily switch between window managers. This article shows how to achieve this using already installed applications on your system.
A BASH on the head.
On most sane Linux distributions, BASH is provided as a default shell script
interpreter, I will be using that. When I said minimal, I meant minimal. With
barely 38 lines, I know no other contestant. For a bonus, I will also use
That’s it! For adding extra entries:
- create a new ‘Option’ variable,
- then add it to the
- adding the extra option to the ‘cases’ clause appropriately.