timbertson / shellshape

tiling window manager extension for gnome-shell
http://gfxmonk.net/shellshape/
Other
396 stars 38 forks source link

Switch screen focus (Have 2 screens with RandR) #148

Open wgrose opened 10 years ago

wgrose commented 10 years ago

Is there anyway to switch screen focus with a keyboard shortcut?

I don't mind contributing some code if you have an idea of how it might work (if it's not already implemented).

timbertson commented 10 years ago

Nope, there's nothing for this right now. It seems like a reasonable feature to add though, if you can think of a good shortcut that doesn't interfere with others :)

I'd love if you could add this, particularly because I don't have a good way of testing multi monitor setups. To add this, I think all you'd need to do is:

If you haven't had much experience with TypeScript, it's basically an optionally typed Javascript. But since there's no well-typed description of gnome-shell APIs (like screen objects), I've created only what shellshape currently uses. So you may need to add signatures for any new functions you use here: https://github.com/gfxmonk/shellshape/blob/a43ff21fa81f0249df67c52bebf46123578e8f40/src/common.ts#L32

Let me know if I've missed anything, or if something's not clear.

wgrose commented 10 years ago

Thanks! I'll give it a shot.

jellybob commented 9 years ago

Did anything come of this? If not I'll give it a shot - Shellshape is so close to providing everything I actually use in XMonad without having to battle with a non-standard window manager, and this is the last piece to make me feel properly at home.

timbertson commented 9 years ago

I haven't heard anything further, so go ahead @jellybob

wgrose commented 9 years ago

I never got around to it and have switched WM's since :(.

On Wed, Oct 28, 2015 at 7:10 AM Tim Cuthbertson notifications@github.com wrote:

I haven't heard anything further, so go ahead @jellybob https://github.com/jellybob

— Reply to this email directly or view it on GitHub https://github.com/gfxmonk/shellshape/issues/148#issuecomment-151804823.