Provided by: devilspie2_0.15-1_amd64
Devilspie2 - perform scripted actions on windows as they are created
Devilspie2 is a program that detects windows as they are created, and performs scripted actions on them. The scripts are written in LUA, allowing a great deal of customisation. More details in /usr/share/doc/devilspie2.
--version Displays the version of Devilspie2. --folder folder Sets the folder where the LUA scripts are loaded from. --debug Shows debug information from the LUA scripts. If debug_print is used in the LUA scripts, that output will only be printed to stdout if this option is used. --emulate Emulate script behaviour. Using this option only emulates a scripts behaviour, and doesn't affect the windows that the scripts otherwise would modify.
get_window_name() returns a string containing the name of the current window. get_application_name() returns the application name of the current window. set_window_position(xpos, ypos) Sets the position of a window. set_window_size(xsize, ysize) Sets the size of a window. set_window_geometry(xpos, ypos, xsize ysize) Set the geometry of a window. make_always_on_top() Set the windows always on top flag. set_on_top() Sets a window on top of the others (this will however not lock the window in this position). debug_print() Debug helper that prints a string to stdout. It is only printed if devilspie2 is run with the --debug option. shade() "Shades" a window, showing only the title-bar. unshade() Unshades a window - the opposite of "shade" maximize() maximizes a window unmaximize() unmaximizes a window maximize_vertically() maximizes the current window vertically. maximize_horisontally() maximizes the current window horisontally. minimize() minimizes a window unminimize() unminimizes a window, that is bringing it back to screen from the minimized position/size. decorate_window() Shows all window decoration. undecorate_window() Removes all window decorations. set_window_workspace(number) Moves a window to another workspace. The number variable starts counting at 1. change_workspace(number) Changes the current workspace to another. The number variable starts counting at 1. pin_window() asks the window manager to put the window on all workspaces. unpin_window() Asks the window manager to put window only in the currently active workspace. stick_window() Asks the window manager to keep the window's position fixed on the screen, even when the workspace or viewport scrolls. unstick_window() Asks the window manager to not have window's position fixed on the screen when the workspace or viewport scrolls.
Devilspie2 was written by Andreas Rönnquist <firstname.lastname@example.org>, and is based on Devilspie by Ross Burton.