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

Why are $mod v and $mod h inverted?

asked 2014-07-01 14:01:55 +0000

anonymous user

Anonymous

Hello,

Just started using i3 and got myself a working desktop, but just have to ask why $mod+v gives me a horizontal layout and $mod+h gives you a vertical layout?

What is the reason for the inversion?

edit retag flag offensive close merge delete

Comments

I just created a clean config with i3-config-wizard, the behavior you describe is the opposite of the default. How did you set up i3?

ANOKNUSA gravatar imageANOKNUSA ( 2014-07-01 14:21:21 +0000 )edit

I just installed the package on Arch. $mod+v: http://i.imgur.com/3idRuR9.png $mod+h: http://i.imgur.com/9khfL9h.png

Farioko gravatar imageFarioko ( 2014-07-01 14:56:21 +0000 )edit

Vertical layout = windows laid out vertically; horizontal layout = windows laid out horizontally. There's nothing wrong here, you're just thinking of it backwards.

ANOKNUSA gravatar imageANOKNUSA ( 2014-07-01 15:32:47 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-07-01 15:51:33 +0000

lasers gravatar image

updated 2014-07-01 15:59:07 +0000

Correct behaviour. Focus more on the new window, not the current window. You're going to need to put it somewhere next to the current window... vertical or horizontal.

$mod+v will indicate the current window to be split under (vertical) for the new window and mod+h will indicate the current window to be split along (horizontal) for the new window. The videos may be helpful. http://i3wm.org/screenshots/ :)

edit flag offensive delete link more

Comments

Another way of looking at is splits vs windows. a lot of programs and IDE's use the split analogy and focus on creating vertical or horizontal splits i.e. which axis does the split run along. All I care is that all my programs are consistent - I changed the default bindings to match others in this

platz gravatar imageplatz ( 2014-07-01 21:37:26 +0000 )edit

Question Tools

Stats

Asked: 2014-07-01 14:01:55 +0000

Seen: 202 times

Last updated: Jul 01 '14