fuhsjr00 / bug.n

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

Multiple Monitors - Sync Tags #178

Open W3ap0n-X opened 6 years ago

W3ap0n-X commented 6 years ago

Hey there,

Just started using this and it is fantastic, there is a few things I want to get figured out to help customize it for multiple monitor use. So far there is very few glitches but one thing that gets me every time is that there is 9 tags on my left screen and 9 tags on my right screen and it hasn't totally become clear which one will be activated when I go to switch workspaces. I tried to enable the sync monitor option but it still randomly decides to activate the second monitor.

I'm OK with AHK but some of this is pretty next level which is cool. What I wanted to see is if there is a way to only have one set of tags for both monitors OR if there is a way to separate the hotkeys for each monitor so that a specific set of hotkeys, for example: #Numpad1 specifically activates monitor 1 then sends the command to go to Tag 1. Does anyone in here have a good trick for either of those?

Ultimately my second monitor doesn't need the additional workspaces, 9 in total is great.

Keep up the amazing work! -WeaponX

joten commented 6 years ago

Beside the active view bug.n tracks the active monitor mostly by following the active window; you may set the active monitor by using the hotkeys Win, and Win..

Config_syncMonitorViews only activates the same view on all monitors simultaniously, but does not set the active monitor.

a way to separate the hotkeys for each monitor

Have a look at issue #151 and #136; perhaps the following does give a hint:

LWin & 3::
  Manager_activateMonitor(1)
  Monitor_activateView(3)
Return