Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

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

Open
wgrose opened this issue Nov 13, 2014 · 5 comments
Open

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

wgrose opened this issue Nov 13, 2014 · 5 comments
Labels

Comments

@wgrose
Copy link

wgrose commented Nov 13, 2014

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
Copy link
Owner

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
Copy link
Author

wgrose commented Nov 14, 2014

Thanks! I'll give it a shot.

@jellybob
Copy link

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
Copy link
Owner

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

@wgrose
Copy link
Author

wgrose commented Oct 29, 2015

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
#148 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants