Commit Graph

340 Commits

Author SHA1 Message Date
Michael Stapelberg 0e47d52c43 ipc: clarify the patch version for sth like 4.2 2012-08-05 14:39:45 +02:00
Michael Stapelberg 78f5f2204d ipc: implement GET_VERSION to find out the i3 version
This is useful for third-party scripts which require certain features
and want to error out cleanly when they are run with an old i3 version.

Additionally, i3 --version might be different from what’s actually
running (an old version of the binary), so i3-msg -t get_version will be
the best way to figure out the i3 version you are actually running from
this commit on.
2012-08-05 14:30:05 +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 ea31cde43b docs/ipc: update links to libraries 2012-07-23 11:03:16 +02:00
Michael Stapelberg b8d77eb59e docs/ipc: document the 'window' field (Thanks jh)
fixes #758
2012-07-23 11:01:52 +02:00
Quentin Glidic e452acb30e Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
Quentin Glidic 66adb62e1f Move docs to the new Makefile layout 2012-07-22 19:57:48 +02:00
Quentin Glidic bdc078914b i3: Replace loglevels by a global debug logging
File-limited were not used nor really useful
Besides, they are painful to maintain in Makefile rules compared to the
benefit
2012-07-22 18:41:12 +02:00
Michael Stapelberg 23c28e5208 Merge branch 'master' into next 2012-06-24 17:30:45 +02:00
Michael Stapelberg 453cc68e40 add section about implicit containers to the userguide (Thanks mloskot) 2012-06-24 17:30:18 +02:00
Michael Stapelberg d4f8450ea9 Merge branch 'master' into next 2012-06-10 21:30:36 +02:00
Michael Stapelberg 1ad6eea4a8 userguide: make the default clear for focus_follows_mouse and new_window 2012-06-10 21:30:14 +02:00
Michael Stapelberg 5a29e61a46 Merge branch 'master' into next 2012-06-10 18:19:29 +02:00
Michael Stapelberg 318b1fa2e2 add slides from 2012-03-16 (German) 2012-06-10 18:17:02 +02:00
Pavel Löbl 2afecaf355 Add a new command 'move to workspace current'
Added a new command 'move to workspace current' which can be used
with criteria to move a window to the current workspace.
2012-06-03 19:42:56 +02:00
Michael Stapelberg f2dde5f5dd update refcard (Thanks Moritz Bandemer) 2012-06-03 17:17:11 +02:00
Michael Stapelberg 63ea509482 ipc: update the links to the python libraries on github (Thanks BusMaster) 2012-04-14 20:32:41 +02:00
Michael Stapelberg 3a42038b8f add missing docs/refcard_style.css to git 2012-04-13 13:38:06 +02:00
Michael Stapelberg 70c27d9be4 fix broken link in docs/debugging (Thanks nh2) 2012-04-13 13:30:04 +02:00
Michael Stapelberg 41d034a6db replace the refcard with an HTML version (by SardemFF7)
This eliminates our build-depedency on latex.
2012-04-12 16:04:29 +02:00
Michael Stapelberg 373b4ad74a Implement 'rename workspace <old_name> to <new_name>' 2012-04-08 20:40:00 +02:00
Michael Stapelberg 72078c704e Implement 'workspace number <number>' to switch to named workspaces 2012-04-08 19:17:46 +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
Jose Pereira 9a58c1fcaa Added option to select primary display on tray_output 2012-04-05 14:42:07 +02:00
Pavel Löbl f78f137ed0 Extends move command for floating windows 2012-03-25 11:06:49 +02:00
Michael Stapelberg 2763a23cc7 userguide: add a hint to xev (Thanks toxios) 2012-03-22 13:10:36 +01:00
Michael Stapelberg a6c461264c add docs/i3bar-protocol 2012-02-16 20:39:34 +00:00
D Thompson 82146fcebf Implement support for user configuration of constraints on floating window dimensions. 2012-02-16 18:31:28 +00:00
Jeremy O'Brien 53541817ef Implement urgency flag matcher
Currently it supports the following options:
"oldest": match the first window that triggered an urgent event
"latest": match the last window that triggered an urgent event
2012-02-14 22:47:10 +00:00
Fernando Tarlá Cardoso Lemos 23abfcf7f2 Mention floating_fix_coordinates in the hacking how-to. 2012-02-14 21:51:13 +00:00
Michael Stapelberg c3125b4424 docs/debugging: cover development version, add debugging-release-version 2012-02-12 11:18:17 +00:00
Michael Stapelberg 194f986975 docs/ipc: remove the log_markers request (it was removed from the code) 2012-02-07 20:43:58 +00:00
Jure Ziberna 1858afc880 docs/ipc: added python library 2012-02-06 20:16:27 +00:00
Michael Stapelberg 18aeb262d3 userguide: document 'fullscreen global' 2012-01-27 22:32:25 +00:00
Michael Stapelberg 57a96bb61f Add presentation slides from 2012-01-25 2012-01-25 21:16:21 +00:00
Michael Stapelberg f9bc434e2a Implement highlighting right/bottom borders of splitted windows
Fixes #299
2012-01-22 11:22:15 +00:00
Michael Stapelberg 31b7ec29fd Re-implement bar borders (by Angelo Haller)
This re-introduces borders around the workspace buttons in i3bar.
No additional pixels will be consumed (you will not lose any space for your
windows).
2012-01-20 21:36:50 +00:00
Michael Stapelberg 518d210a9b hacking-howto: point out that the parser is not used for the configfile (yet) (Thanks fernandotcl) 2012-01-16 23:41:24 +00:00
Michael Stapelberg fa4a909f34 hacking-howto: describe the new commands parser 2012-01-16 22:44:28 +00:00
Michael Stapelberg 814695d8bb Implement 'move workspace to output <output>'
Fixes: #541
2012-01-10 22:16:50 +00: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
Michael Stapelberg 58f331c50a userguide: document workspace next_on_output/prev_on_output 2012-01-08 16:30:48 +00:00
Michael Stapelberg c72367660f update userguide to reflect the modifier option in i3bar config 2012-01-08 12:52:45 +00:00
Michael Stapelberg c92aa648cb document the 'focus output' command 2012-01-08 12:02:59 +00:00
Michael Stapelberg 9a46335e25 docs/userguide: refer to the new i3bar options in "8.1. Displaying a status line" 2011-12-30 00:59:32 +01:00
Michael Stapelberg cea6f7ad96 Merge branch 'master' into next 2011-12-24 15:37:13 +01:00
Miguel de Val-Borro 1d2c63de5c Fix a few spelling typos 2011-12-24 15:36:43 +01:00
Michael Stapelberg 538247a843 s/xwininfo/xprop (Thanks Miguel) 2011-12-24 15:36:11 +01:00
Miguel de Val-Borro e7e2ed94fd Fix typo in keyboard binding example in the user guide 2011-12-24 15:35:15 +01:00
Michael Stapelberg 08986a1798 Implement scratchpad functionality (see userguide) 2011-12-21 23:15:32 +00:00
Michael Stapelberg 1f2c9306a2 Merge branch 'master' into next
Conflicts:
	testcases/t/159-socketpaths.t
2011-12-18 18:02:08 +00:00
Michael Stapelberg c21172a6f6 Create a secure temp path instead of a predictable one (Thanks Han)
With this commit, i3 will now use either $XDG_RUNTIME_DIR/i3 (XDG_RUNTIME_DIR
is only writable by the user, so this is not a problem) or a secure temporary
location in /tmp, following the pattern /tmp/i3-<user>.XXXXXX
2011-12-18 17:59:31 +00:00
Michael Stapelberg 1f0c0cdd51 docs/ipc: the command has a reply now 2011-12-15 17:30:32 +00:00
Michael Stapelberg 966c654112 implement the GET_LOG_MARKERS IPC request/reply 2011-12-10 11:16:32 +00:00
Michael Stapelberg b1b139df1e hacking-howto: talk about the tree data structure 2011-11-30 20:55:48 +00:00
Jan-Erik Rediger f23d675de9 Implement new "i3bar_command" option for bar.
This allows you to specify an alternate path to the i3bar binary.
The userguide docu is included.
2011-11-27 21:40:57 +00:00
Michael Stapelberg 2f36214f89 hacking-howto: little fixes 2011-11-24 23:49:20 +00:00
Michael Stapelberg 8d433ecc6b hacking-howto: s/iFunc/Func/ (Thanks mxf) 2011-11-23 22:17:50 +00:00
Michael Stapelberg f91f6c52e9 hacking-howto: document X11 pushing/drawing 2011-11-23 21:54:40 +00:00
Michael Stapelberg 5efb81250a hacking-howto: document v4 rendering 2011-11-23 21:54:38 +00:00
Michael Stapelberg 2359c5049d hacking-howto: document thought-experiment (why cgroups don’t solve the window starts on wrong workspace problem) 2011-11-23 21:04:29 +00:00
Michael Stapelberg 1e35dcba97 hacking-howto: rendering (INCOMPLETE) 2011-11-23 21:04:29 +00:00
Michael Stapelberg 2c0d7cbcc1 hacking-howto: update 'Data structures' for v4 2011-11-23 21:04:29 +00:00
Michael Stapelberg 09a28f603f userguide: use bar blocks in the bar related examples 2011-11-15 23:42:41 +00:00
Michael Stapelberg 5b4f8eb7e2 userguide: s/enter/Return (use correct keysym) (Thanks mxf) 2011-11-15 20:20:54 +00:00
Michael Stapelberg 433720d27a docs/userguide: make it clear how to use multiple output directives (Thanks moemoe) 2011-11-13 12:54:10 +00:00
Michael Stapelberg cc1a7d35d9 docs/userguide: fix typo (Thanks sycamorex) 2011-11-13 10:51:58 +00:00
Michael Stapelberg 41cf2468c0 docs/userguide: make the bar config reflect reality
Forgot to update this when changing the color.
2011-11-10 23:37:53 +00:00
Michael Stapelberg 715fe580af docs/userguide: s/shrinked/shrunk (Thanks f8l) 2011-11-08 18:06:44 +00:00
Michael Stapelberg 3f76522344 update docs/testsuite with the simpler invocation of complete-run.pl 2011-11-07 23:22:41 +00:00
Michael Stapelberg 51e0d1b741 docs/userguide: clarify proportional resizing with floating modifier (Thanks Donald) 2011-10-29 22:58:32 +01:00
Michael Stapelberg 09a07b9169 docs/userguide: update the workspace assignment section 2011-10-27 22:45:34 +01:00
Michael Stapelberg 18c2ef33d3 docs/userguide: Document the move syntax 2011-10-27 21:52:39 +01:00
Michael Stapelberg 73d4737e42 docs/userguide: document the --no-startup-id flag for exec directives in the config 2011-10-25 22:21:09 +01:00
Michael Stapelberg 15f36cdc91 docs/userguide: document the --no-startup-id flag 2011-10-25 22:18:40 +01:00
Michael Stapelberg ada4857ad2 Fix colors in i3bar (Thanks julien)
i3bar previously used get_colorpixel on strings without the leading # (ff0000
instead of #ff0000). Since it uses libi3’s get_colorpixel now we needed to
update a few places.
2011-10-23 17:48:44 +01:00
Michael Stapelberg 5ec5a07dd2 docs/userguide: use the correct color keywords (Thanks Atsutane) 2011-10-23 13:17:32 +01:00
Michael Stapelberg 202b216c14 docs/userguide: document the output bar option 2011-10-21 22:22:02 +01:00
Michael Stapelberg 0f2642a9c9 docs/userguide: document the tray_output bar option 2011-10-21 19:50:40 +01:00
Michael Stapelberg 0f3d31124d docs/userguide: document the bar configuration 2011-10-20 23:38:34 +01:00
Michael Stapelberg 093507fc38 ipc: document the GET_BAR_CONFIG request/reply 2011-10-20 20:16:07 +01:00
Michael Stapelberg 2bda05d1b8 docs/ipc: fix example end 2011-10-20 19:51:01 +01:00
Michael Stapelberg a33c720ce8 docs/ipc: document i3 --get-socketpath 2011-10-20 19:46:57 +01:00
Michael Stapelberg 178be03fa6 Implement 'workspace back_and_forth' (Patch by Michael Walle) 2011-10-17 23:17:56 +01:00
Michael Stapelberg c3a18104cd docs/Makefile: use $(ASCIIDOC), add asciidoc 'latest git docs' config 2011-10-15 23:32:04 +01:00
Michael Stapelberg 30901ccf6e docs/testsuite: s/more ugly/uglier (Thanks fernandotcl) 2011-10-06 07:58:39 +01:00
Michael Stapelberg cdd9dc3144 docs/testsuite: explain how socket activation works in i3 2011-10-05 20:46:47 +01:00
Michael Stapelberg b829fce813 Mention 'move workspace next/prev' in the userguide 2011-10-02 22:21:38 +01:00
Michael Stapelberg 3537f2d4ca Merge branch 'master' into next 2011-10-02 12:57:27 +01:00
Michael Walle ba7b325469 userguide: fix typo
Signed-off-by: Michael Walle <michael@walle.cc>
2011-10-02 12:57:16 +01:00
Michael Stapelberg 1675499f15 docs/testsuite: a few corrections by fernandotcl 2011-09-25 14:23:47 +01:00
Michael Stapelberg 0e8eb5747a s/This adds up quickly/Delays add up quickly (Thanks mxf) 2011-09-24 20:11:23 +01:00
Michael Stapelberg d174ff16ed Add docs/testsuite 2011-09-24 20:10:01 +01:00
Michael Stapelberg 3073fe0bc8 update docs/multi-monitor to include the output names and refer to the force_xinerama config directive 2011-09-19 23:21:38 +01:00
Michael Stapelberg ab04526aa1 mention the force_xinerama configfile directive in the userguide 2011-09-19 23:18:40 +01:00
Michael Stapelberg 9a76887a28 docs/userguide: document the window_role criterion 2011-09-18 16:06:52 +01:00
Michael Stapelberg 24dbddc395 docs/userguide: fix the for_window syntax 2011-09-11 22:15:14 +01:00
Michael Stapelberg 332476cf0e docs/userguide: document the new assign syntax 2011-09-11 22:15:05 +01:00
Michael Stapelberg 9b671bda83 docs/userguide: provide an example of case-insensitive matching with PCRE (Thanks stfn) 2011-09-11 21:17:13 +01:00
Michael Stapelberg 1a91c695e7 mention PCRE in docs/userguide 2011-09-11 11:10:09 +01:00
Michael Stapelberg c3d0957efd Merge branch 'master' into next 2011-08-29 16:05:11 +02:00
Michael Stapelberg 1aa7eeb700 docs/userguide: state that mod+shift+space toggles, add link to criteria in for_window (Thanks Don) 2011-08-29 16:04:42 +02:00
Michael Stapelberg 1a34d250bb Merge branch 'master' into next 2011-08-29 15:17:53 +02:00
Michael Stapelberg 640071163f docs/userguide: new_window: s/borderless/none/ (Thanks bjonnh) 2011-08-29 15:17:31 +02:00
Michael Stapelberg e7d6cd0f1c Merge branch 'master' into next 2011-08-28 18:03:06 +02:00
Michael Stapelberg 5796f72885 docs/userguide: properly document command chaining and criteria 2011-08-28 18:02:49 +02:00
Michael Stapelberg e5f10022e7 docs/userguide: properly document the resize command 2011-08-28 17:51:37 +02:00
Michael Stapelberg aa65b507ad Merge branch 'master' into next 2011-08-28 17:44:59 +02:00
Mark Kusch 1953f2c707 s/i3.zekjur.net/i3wm.org/g 2011-08-28 17:44:42 +02:00
Michael Stapelberg f269d85232 Merge branch 'master' into next 2011-08-28 14:55:17 +02:00
Michael Stapelberg c846ff272f docs/userguide: document force_focus_wrapping config directive 2011-08-28 14:54:58 +02:00
Michael Stapelberg 61cbf7a658 Merge branch 'colors-userguide' into next 2011-08-27 16:47:53 +02:00
Michael Stapelberg 30c892adf4 docs/userguide: use the default colors in the colors example 2011-08-27 16:47:36 +02:00
Michael Stapelberg 057e0e9794 Merge branch 'master' into next 2011-08-27 15:28:34 +02:00
Michael Stapelberg 2d627ad9de docs/userguide: s/mod+h/mod+s for stacking (Thanks Tim) 2011-08-27 15:28:11 +02:00
Michael Stapelberg e411223f8b Merge branch 'master' into next 2011-08-25 14:11:51 +02:00
Michael Stapelberg ca77646de6 docs/userguide: add paragraph about named workspaces, discourage use of 'ipc-socket' 2011-08-25 14:11:31 +02:00
Peter Bui 7ddba4995f BUG-396: Implement move output <RANDR-OUTPUT> command
Also add support for move output <up|down|left|right> and update
userguide about the new command.
2011-08-17 16:10:11 +02:00
Michael Stapelberg f8d834c62d Merge branch 'master' into next 2011-08-09 09:47:10 +02:00
Michael Stapelberg 98cc37e223 swap up/down, also modify the testcase 2011-08-09 09:46:02 +02:00
Peter Bui 3316d8b8ba Resize uses up and down, not bottom and top
- Fix userguide resize example
- Update migration script
2011-08-09 09:42:36 +02:00
Michael Stapelberg fadf9088db docs/ipc: make the GET_MARKS docs a little more precise 2011-08-09 08:22:58 +02:00
Helgi Kristvin Sigurbjarnarson 35d7ef0ddd Feature: implement GET_MARKS 2011-08-09 08:04:33 +02:00
Michael Stapelberg 0ec208bd75 docs/userguide: use bindsym for the 'split' example (Thanks Jan) 2011-08-07 18:03:29 +02:00
Michael Stapelberg 92481b133c docs/userguide: the correct command is 'floating enable', not 'mode floating' (Thanks Sander)
Fixes: #453
2011-08-03 20:48:28 +02:00
Michael Stapelberg 9e4bd9a157 docs/userguide: remove the bar.* color keys (Thanks aksr) 2011-08-01 14:42:21 +02:00
Michael Stapelberg 9fbf6e3992 docs/userguide: use i3bar instead of dzen2 in the 'exec' example (Thanks ubitux) 2011-08-01 14:40:01 +02:00
Michael Stapelberg d60c6f0db2 docs/userguide: update keyboard-layer images, remove incomplete warning 2011-07-31 23:53:26 +02:00
Michael Stapelberg b77ab98ebc docs/userguide: document for_window (Thanks aksr) 2011-07-31 23:38:26 +02:00
Michael Stapelberg d3825f88e3 remove obsolete docs/tree-migrating 2011-07-31 22:19:58 +02:00
Michael Stapelberg 6ef3866108 docs/hacking-howto: comment out a few sections which are not updated yet
We want to get this release out and will update the sections afterwards. Sorry!
If you need to know stuff *right now*, please ask us on IRC
2011-07-31 16:19:25 +02:00
Michael Stapelberg 033466585d docs/userguide: update the status line section, recommend i3bar
dzen2 does not get mentioned anymore. They did not release a new version for
more than three years (-dock was added 2008-04-03). I am sick of telling people
they need to check out the latest SVN trunk of dzen2.
2011-07-31 15:39:18 +02:00
Michael Stapelberg c601ac1d8e docs/userguide: little fixes by fernando 2011-07-29 13:31:37 +02:00
Michael Stapelberg 20c68b1869 docs/userguide: explain the split command 2011-07-29 01:12:19 +02:00
Michael Stapelberg 7e6aa72664 docs/userguide: explain default_orientation config directive 2011-07-29 01:12:06 +02:00
Michael Stapelberg 85b01df11b userguide: add popup_during_fullscreen configuration directive 2011-07-29 00:26:30 +02:00
Michael Stapelberg 8ef51a7cfa update docs/userguide (various little fixes/updates) 2011-07-28 22:51:48 +02:00
Michael Stapelberg 700f5bd443 docs/hacking-howto: a few little updates 2011-07-27 17:05:28 +02:00
Michael Stapelberg d1fae4c0f7 docs/hacking-howto: update for RandR instead of Xinerama 2011-07-27 16:37:19 +02:00
Michael Stapelberg e8335bbb89 docs/hacking-howto: update the file description 2011-07-27 16:32:24 +02:00
Michael Stapelberg 118a37510d docs/debugging: make the difference between logging and verbose logging more clear, little style fixes 2011-07-27 16:13:15 +02:00
Michael Stapelberg 8c18121a11 docs/makefile: correctly make 'clean' 2011-07-24 22:43:50 +02:00
Michael Stapelberg 8c20fea3c2 docs/ipc: document the tree request / reply 2011-07-24 15:02:39 +02:00
Michael Stapelberg f0aa52f674 docs/ipc: update socket path section 2011-07-24 14:39:15 +02:00
Michael Stapelberg a402480ad0 docs: add reference card (by Zeus Panchenko)
Conflicts:

	docs/Makefile
2011-07-23 22:21:10 +02:00
Michael Stapelberg 7801cd7a03 Don’t pretend like the global fullscreen mode would be configured in the default config (Thanks Mirko)
Conflicts:

	docs/userguide
2011-07-23 22:08:41 +02:00
Michael Stapelberg f5e24bd349 userguide: add missing $ (Thanks artoj) 2011-07-23 22:07:49 +02:00
Claudio Marforio cc24a96e96 patch to allow exec_always in configure file
fixed indentation, updated docs
2011-07-12 18:23:14 +02:00
Michael Stapelberg c408fef021 Implement 'focus floating', 'focus tiling' and 'focus mode_toggle' (+test +docs) 2011-07-04 17:09:52 +02:00
Michael Stapelberg fb9d77305e Implement 'fullscreen global' 2011-06-10 18:27:20 +02:00