Commit Graph

14 Commits

Author SHA1 Message Date
Michael Stapelberg ef90ccd1a8 default config: include a short explanation about xft fonts 2012-08-13 13:34:30 +02:00
Michael Stapelberg de94f6da1a Introduce splith/splitv layouts, remove orientation
With this commit, the "default" layout is replaced by the splith and
splitv layouts. splith is equivalent to default with orientation
horizontal and splitv is equivalent to default with orientation
vertical.

The "split h" and "split v" commands continue to work as before, they
split the current container and you will end up in a split container
with layout splith (after "split h") or splitv (after "split v").

To change a splith container into a splitv container, use either "layout
splitv" or "layout toggle split". The latter command is used in the
default config as mod+l (previously "layout default"). In case you have
"layout default" in your config file, it is recommended to just replace
it by "layout toggle split", which will work as "layout default" did
before when pressing it once, but toggle between horizontal/vertical
when pressing it repeatedly.

The rationale behind this commit is that it’s cleaner to have all
parameters that influence how windows are rendered in the layout itself
rather than having a special parameter in combination with only one
layout. This enables us to change existing split containers in all cases
without breaking existing features (see ticket #464). Also, users should
feel more confident about whether they are actually splitting or just
changing an existing split container now.

As a nice side-effect, this commit brings back the "layout toggle"
feature we once had in i3 version 3 (see the userguide).

AFAIK, it is safe to use in-place restart to upgrade into versions
after this commit (switching to an older version will break your layout,
though).

Fixes #464
2012-08-04 03:13:24 +02:00
Michael Stapelberg 9191b56924 config: require confirmation when exiting i3 (Thanks Felicitus)
Fixes #751
2012-08-02 16:17:42 +02:00
David Coppa 7d657a6a65 Fix errors in i3.config.keycodes (bindsym -> bindcode) 2012-05-18 09:14:22 +02:00
Michael Stapelberg 2d110c90e6 Implement resize <grow|shrink> <width|height>, use it in the default config
Fixes: #576
2012-04-08 16:00:15 +02:00
Michael Stapelberg df9b338175 Introduce synonyms: 'move to workspace' and 'move container to workspace' and 'move window to workspace'
This makes the new 'move workspace to output' command much more clear
2012-01-10 22:16:09 +00:00
mgsnova cedeb88682 convert tabs into whitespaces in config files 2011-11-27 21:44:00 +00:00
Michael Stapelberg 0298c72802 Bugfix: i3.config: status_command, not status_line (Thanks eeemsi) 2011-10-22 18:28:11 +01:00
Michael Stapelberg bc679b0168 change default config to use 'bar' blocks (Thanks mxf) 2011-10-21 19:01:02 +01:00
Michael Stapelberg 6420b2b102 Introduce the i3-sensible-{pager,editor,terminal} scripts
The former two provide fallbacks in case $PAGER or $EDITOR is not set (which
might be more common than you think, because they have to be set in
~/.xsession, not in the shell configuration!) while the latter tries to launch
a terminal emulator. The scripts are most prominently used in i3-nagbar, which
alerts the user when the configuration is broken for some reason. Also,
i3-sensible-terminal is used in the default configuration.

This commit does not rely on the shell supporting ${PAGER:-less} anymore, which
is not the case for 'fish'.
2011-09-25 18:46:37 +01:00
Michael Stapelberg 9f9fc82cc6 Don’t use absolute paths in the default config (Thanks cls)
Fixes #489
2011-08-23 21:30:09 +02:00
Michael Stapelberg 49400a2c0f also start i3bar in the keycode config template 2011-08-01 21:23:44 +02:00
Michael Stapelberg 3e3c6f85a1 add v4 comment to i3.config.keycodes, remove userguide comment from i3-config-wizard 2011-07-11 19:48:51 +02:00
Michael Stapelberg 7584ef4879 add i3.config.keycodes, default config, but using bindcode (template for i3-config-wizard) 2011-07-11 17:40:18 +02:00