The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
3

Switch focus between monitors

asked Jan 14 '14

FSund gravatar image

Is there any way to switch focus between two monitors, without having to manually switch to the numbered workspace you want to to go?

1 answer

Sort by » oldest newest most voted
4

answered Jan 14 '14

Adaephon gravatar image

updated Jan 14 '14

You can use the command focus output <left|right|down|up>|output> for that (see User's Guide, Section 6.4).

I myself use this:

bindsym Mod4+dead_circumflex focus output left

There is a wrap around so it seems to toggle between my two monitors.

You can also target a specific output by issuing its name:

bindsym Mod4+Control+1 focus output DP-1

You can use xrandr on the command line to get the names of your outputs.

Comments

Thanks a lot, this was exactly what I was looking for. I've read parts of the User's Guide, but didn't think of searching for "focus"...

FSund gravatar imageFSund (Jan 14 '14)edit

Question Tools

Stats

Asked: Jan 14 '14

Seen: 491 times

Last updated: Jan 14 '14