fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.35k stars 214 forks source link

Possible to rearrange items in status bar? #225

Open throwyourboatsgently opened 4 years ago

throwyourboatsgently commented 4 years ago

I was wondering if it is possible to rearrange the order of items in the status bar, and if so where I would do that?

I'd like to be able to place the #! at the far left of the bar before views. This is because I have the bar set to tray, left position, 95% width, in order to have the default Windows tray area visible. The Bug.n bar is set to the same color as the Windows bar so they blend together. With the #! at the right of the bar, I need to have the bar width dialed in just right to make it look like the #! is a part of the Windows tray. This is fine for a one monitor setup but results will be inconsistent otherwise. I could of course just change the font color of the #! to the same as the bar and make it invisible, but I would prefer to keep the functionality in tact. If I could move the #! to the far left of the bar (Windows Start position), then I could shrink the total width of the bar down enough to play nice on multiple monitors without running into the Windows tray. Here is a photo of what my bar looks like now for anyone curious:

image

Any help would be much appreciated.

Thanks.

joten commented 4 years ago

It is a nice idea blending bug.n's status bar with the Windows taskbar like this.

Moving #! to the left would need rewriting the code of Bar_init(m) in Bar.ahk and would be to complicated to paste it here. Changing the color should not limit the functionality, if you use the hotkey WinY anyway.

throwyourboatsgently commented 4 years ago

Thanks Joten. I changed the color of #! to blend in with the bar and I'm using the hotkey as you suggested when needed.

Do you know of a way to align the window title text in the Bug.n bar to the center of my monitor when I'm using this setup? My bar width is set to 85% to play nice with two different sized monitors (laptop use, and laptop with external for desktop use, I never have both displays on at once) and because of that the title text is off center now on the monitor. It isn't a big deal at all if it can't be changed, but it would complete the blending of the two bars and be aesthetically pleasing.

joten commented 4 years ago

You may add Config_horizontalBarPos=center to your Config.ini to position the bar in the middle of the screen. The title field itself has the text centered, but just fills the space between the left and right aligned fields in the bar. In your case there are more fields to the left then to the right of the title, therefor it is seen slightly off center. Config_singleRowBar=0 would put the title field in a second row below the status fields, therewith definitely putting it in the center of the whole bar.