fuhsjr00 / bug.n

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

Main window focus #176

Open lluke777 opened 6 years ago

lluke777 commented 6 years ago

Is there a function/shortcut to make imiediate focus on master window from any place while using bug.n? Sometime when WIN key is pressed or after Windows Start Menu colapse there is no focus at all at any window. Shortcuts like 'Win up' doesn't work at all. You have to mouse click at any window to gain focus.

joten commented 6 years ago

Not before commit 01e3824; I did a quickfix, not tested, not incorporated in the executable. -- I am currently not working with Windows, but perhaps it helps.

You may now use a line in Config.ini like the following to activate the first window in the active view on the active monitor, which -- in tile layout -- would be the master window: Config_hotkey=#Enter::View_activateWindow(1)

lluke777 commented 6 years ago

Hmm. I added this line Config_hotkey=#Enter::View_activateWindow(1) to config.ahk but unfortunately there is no reaction. Shortcut #Enter doesn't work.

joten commented 6 years ago

Just to be sure: Did you add the line to Config.ini or Config.ahk? In Config.ahk it should be #Enter::View_activateWindow(1) near the end of the file.

lluke777 commented 5 years ago

You menthon "I am currently not working with Windows" I assume that it is unix based system (linux?). Is there anything that you are using similar to AHK to automate GUI, shortcuts, remappings in applications?

joten commented 5 years ago

I am currently using Chrome OS with a bit of crouton. On linux I only had the need for python + wnck + keybinder at one time, but did not use e.g. xdotools or IronAHK.