47a798ac4a
Please test this! Plug in screens, unplug them, use your video projector, change resolutions, etc. To use the assignments, use the following syntax: workspace <number> [screen <screen>] [name] Where screen can be one of: <number> (It is not provided that these numbers stay constant, so use with care) <x>x<y> (Coordinates where the screen starts, so 1280 will be fine to match the screen right of the main screen if your main screen is 1280 pixels width. However, 1281 will not match) <x> x<y> Some examples follow: workspace 1 screen 0 workspace 1 screen 1 workspace 1 screen 1280x0 workspace 2 screen 1280 workspace 3 screen x0 workspace 3 screen 1 www workspace 4 screen 0 mail
23 lines
516 B
C
23 lines
516 B
C
/*
|
|
* vim:ts=8:expandtab
|
|
*
|
|
* i3 - an improved dynamic tiling window manager
|
|
*
|
|
* (c) 2009 Michael Stapelberg and contributors
|
|
*
|
|
* See file LICENSE for license information.
|
|
*
|
|
*/
|
|
#ifndef _COMMANDS_H
|
|
#define _COMMANDS_H
|
|
|
|
#include <xcb/xcb.h>
|
|
|
|
bool focus_window_in_container(xcb_connection_t *conn, Container *container,
|
|
direction_t direction);
|
|
|
|
/** Parses a command, see file CMDMODE for more information */
|
|
void parse_command(xcb_connection_t *conn, const char *command);
|
|
|
|
#endif
|