fuhsjr00 / bug.n

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

Best way to set a floating windows always on top? #183

Open spadino opened 6 years ago

spadino commented 6 years ago

There's a way to have a window bet set to float AND always on top from Config.ini?

joten commented 6 years ago

No, currently not. It would be possible, though, to implement. But it would also need a function to toggle the "AlwaysOnTop" state and a transparency level would be the obvious additional feature.

(I am currently not working on Windows and cannot test or develop any features.)

ertwro commented 5 years ago

Is there any progress with this @joten? I'm doing a tutorial for bug.n on YouTube and I wanted to show how to do this by a simple hotkey addition Winn (viewMargins is already redefined)

Config_hotkey=#n::WinSet, AlwaysOnTop, toggle, A

But I can't seem to make it work without loading an ahk script. Also, is there a way to see multiple tags at the same time like in dwm?

joten commented 5 years ago

Sorry, no prgress on this issue. Calling WinSet from Config.ini is not implemented, only Run, Send and bug.n functions.

Viewing multiple tags is not possible in bug.n, only multiple tags for a window.

ertwro commented 5 years ago

Oh, geez. I missed that in Usage.md. Sorry. Is there a way to run Run and send in the same line for a hotkey? e.g.

run ms-settings:sound
sleep, 1000
send {Tab 6}
send {Space}

Edit: never mind. I think I can use the config.ahk file for this. Although it would be cool having this capability in the config.ini file

joten commented 5 years ago

No, currently only one command can be send per Config.ini hotkey. You would have to write a function and associate this with a hotkey, editing Config.ahk and running bug.n as a AutoHotkey script.