gri3-wm/include
Michael Stapelberg 5ae4620a24 Time Lord technology: for_window config directive to run arbitrary cmds
An example to set all XTerms floating:
    for_window [class="XTerm"] mode floating

To make all urxvts use a 1-pixel border:
    for_window [class="urxvt"] border 1pixel

A less useful, but rather funny example:
    for_window [title="x200: ~/work"] mode floating

The commands are not completely arbitrary. The commands above were tested,
others may need some fixing. Internally, windows are compared against your
criteria (class, title, …) when they are initially managed and whenever one of
the relevant values change. Then, the specified command is run *once* (per
window). It gets prefixed with a criteria to make it match only the specific
window that triggered it. So, if you configure "mode floating", i3 runs
something like '[id="8393923"] mode floating'.
2011-05-15 20:10:25 +02:00
..
i3 Ported over some message types from -next. 2010-11-21 21:36:19 +01:00
all.h Time Lord technology: for_window config directive to run arbitrary cmds 2011-05-15 20:10:25 +02:00
assignments.h Time Lord technology: for_window config directive to run arbitrary cmds 2011-05-15 20:10:25 +02:00
atoms.xmacro Set the I3_SOCKET_PATH and I3_CONFIG_PATH atoms on the X11 root window 2011-03-19 21:20:38 +01:00
click.h refactor handlers.{c,h}: declare the handlers static, remove unnecessary parameters 2011-03-20 16:53:12 +01:00
cmdparse.h ipc/parser: commands can now return custom JSON replies 2010-07-17 15:15:37 +02:00
con.h When making floating cons tiling, re-insert next to the next focused *tiling* con (Thanks mseed) 2011-03-14 23:50:29 +01:00
config.h fix warning by removing 'const' from ipc_socket_path 2011-04-26 19:28:33 +02:00
data.h Time Lord technology: for_window config directive to run arbitrary cmds 2011-05-15 20:10:25 +02:00
debug.h Add vim hints, copyright notice to each file, add LICENSE, retab! everything 2009-02-14 02:33:31 +01:00
ewmh.h Bring back some more EWMH support. 2011-03-14 17:11:33 +01:00
floating.h Bugfix: Check if a floating window’s coordinates are within a different workspace when managing (Thanks Merovius) 2011-04-18 19:28:03 +02:00
handlers.h Bugfix: Ignore EnterNotifies generated by UnmapNotifies 2011-04-19 21:50:56 +02:00
i3.h Time Lord technology: for_window config directive to run arbitrary cmds 2011-05-15 20:10:25 +02:00
ipc.h Set the I3_SOCKET_PATH atom to the expanded path. 2011-03-21 23:46:03 +01:00
load_layout.h first step of the big refactoring ("tree" branch). 2010-04-13 13:17:39 +02:00
log.h loglevel bitmasks needs to be larger because we got more than 32 files 2010-04-17 17:46:11 +02:00
manage.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
match.h re-implement assigning windows to workspaces 2011-05-02 23:29:26 +02:00
move.h refactor tree_move() into src/move.c, change config (!), change testcase 2011-02-14 23:05:20 +01:00
output.h Bugfix: fix disabling RandR outputs 2011-02-21 01:43:39 +01:00
queue.h implement TAILQ_SWAP (only for consecutive elements, order relevant) and use it 2011-02-15 02:21:23 +01:00
randr.h Bugfix: Fix initialization / assignments when RandR is missing 2011-05-14 22:34:34 +02:00
render.h Bugfix: Don’t draw borders for fullscreen windows 2010-11-21 17:00:10 +01:00
resize.h Implement resizing (still buggy) 2010-11-29 10:56:16 +01:00
sighandler.h Retab sighandler.c 2010-12-31 19:36:32 +01:00
tree.h Argument for 'kill' for killing a specific window (now default) or the whole client (+test) 2011-05-13 20:41:03 +02:00
util.h introduce the NODES_FOREACH and GREP_FIRST macros 2011-05-14 22:11:09 +02:00
window.h Time Lord technology: for_window config directive to run arbitrary cmds 2011-05-15 20:10:25 +02:00
workspace.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
x.h Argument for 'kill' for killing a specific window (now default) or the whole client (+test) 2011-05-13 20:41:03 +02:00
xcb.h Handle FocusIn events generated by clients and update decoration accordingly (Thanks mseed) 2011-03-20 16:26:36 +01:00
xcb_compat.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
xcursor.h little style fixes, add vim modeline 2010-11-28 13:02:29 +01:00
xinerama.h first step of the big refactoring ("tree" branch). 2010-04-13 13:17:39 +02:00