Added config key for default orientation of containers (new_container_orientation) and added support in randr.c for automatically changing the orientation when user does a xrandr rotate.

This commit is contained in:
Simon Kampe
2011-03-16 11:56:51 +01:00
committed by Michael Stapelberg
parent b484ed5f9d
commit 2f992f5c0e
8 changed files with 86 additions and 3 deletions

View File

@ -19,7 +19,13 @@ bindsym Mod1+Return exec /usr/bin/urxvt
# Start dmenu (Mod1+p)
bindsym Mod1+p exec /usr/bin/dmenu_run
# Default orientation
new_container_orientation horizontal
# Horizontal orientation
bindsym Mod1+h split h
# Vertical orientation
bindsym Mod1+v split v
# Fullscreen (Mod1+f)