Bspwm journey (part 2)
Date: 2023-02-06
I continued my Bspwm journey. I have to say that working with manual tiling is a very interesting concept. Back in the day when I was starting with i3, I mostly used a default split, cause 2 windows side by side was such a good concept, and made my life easy for some of the work stuff I was doing. It was like discovering a good clipboard manager for the first time… xD
Bspwm and polybar, multimonitor setup
In the previous post I have mentioned that I had trouble making multimonitor setup work. I kind of fixed that, although I can only use it with continous workspaces numbering. Meaning that 1-6 is on my first monitor, and 7-9 is on the second one. Which is fine, but I would like to have 10 different workspaces for both monitors.
Eric Murphy posted a video: How to Set Up Dual Monitors with BSPWM + Polybar - this helped me greatly. Although the monitor setup in bspwmrc doesn't work the way it did for him.
Note that it's probably a bspwm config problem, as my dwm config works fine as it should (it can handle different 10 workspaces on both monitors). Secondary monitor works just fine.
Configuring polybar
I have to say that this is much friendlier bar, than xmobar, despite it has a giant config file, and you can add so many things.
Luckily we have a good documentation for polybar, or if you want something more visual, I highly recommend The LinuxCast video's on it: How to Install and Customize Polybar- Ultimate Polybar Beginner's Guide.
He was especially helpful with setting up icons for workspaces (instead of numbers or text), but I still want to add my harddrives with some icons, so I know how much space I have left on them.
One more thing: why I don't use other people's config
It's really easy to just go to r/unixporn, or youtube or github/gitlab and look up somebody else's config, just downloaded, put it into your config directory (make sure to make a backup of yours first), and ready to go! Now you will use DT's, Luke Smith's or anybody's config. Finally your system looks nice and cozy, except there is one big giant problem!
You have not learned anything! You don't really understand how parts of the config work. What I recommend you is to take parts of somebody's config, and try to understand it how it works.
Or of course go to the source, and read the manual! Believe me, that when you discover something on your own, and you make it work, it's very rewarding. I spent dozens of hours to make my window manager look and behave a certain way, how I want it. I think this is why most people use tiling window manager, cause they are very configurable, and basically if you look at these configs, you will never find 2 of the same ones. Maybe similar in some aspect, but mostly totally different.
This is just the beginning
Since Bspwm is using sxhkd, I still going through the shortcuts. I think it's a very interesting model, that bspwm is just a window manager, while it they made sxhkd to handle the keyboard shortcuts, which is one of the most important part of a keyboard focused window manager.
So far it's a very responsive experience, and I will definitely spend more time with it.