The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Switch focus between monitors

asked 2014-01-14 08:13:13 +0000

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-01-14 09:56:58 +0000

Adaephon gravatar image

updated 2014-01-14 10:04:10 +0000

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.

edit flag offensive delete link more


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 ( 2014-01-14 10:24:17 +0000 )edit

Question Tools


Asked: 2014-01-14 08:13:13 +0000

Seen: 491 times

Last updated: Jan 14 '14