window attribute manipulation

Syntax

WINDOW LEVEL [<levels>]
WINDOW IMMORTAL on|off|toggle
WINDOW SERVER [-sticky | -unsticky] <tag>
WINDOW NUMBER [-sticky] <number>
WINDOW NAME <name>
WINDOW HISTORY [-clear] <name>
WINDOW THEME [-delete] [<name>]
WINDOW STICK [<ref#>] [ON|OFF]
WINDOW HIDELEVEL [<levels>]

Parameters

LEVEL:

Changes the text levels to display in the window, or query the current level.

IMMORTAL:

Modifies or queries the window mortality status. Immortal windows have an extra protection against WINDOW CLOSE.

SERVER:

Change the active server of the window or the server stickyness. If the server is sticky, it cannot be cycled with next_window_item/previous_window_item

NUMBER:

Change the active window number to the specified number, swapping the window already in that place if required. With -sticky, protect the window number from renumbering done by windows_auto_renumber. (To re-set the sticky attribute, use WINDOW NUMBER again without -sticky.)

NAME:

Change or clear the window name. Window names must be unique.

HISTORY:

Set or clear a specific named history to use for this window. All windows with the same named history will share a history.

THEME:

Applies or removes a per-window theme.

STICK:

Make the currently active window sticky, or stick the window specified by number to the currently visible split window. Or turn off stickyness of the currently active window or the window specified by number.

HIDELEVEL:

Changes the levels of text lines that should be hidden from view, or query the current hidden level.

Add the required arguments for the given command. Without arguments, the details (size, immortality, levels, server, name and sticky group) of the currently active window are displayed. If used with a number as argument, same as WINDOW REFNUM.

LEVEL and HIDELEVEL modify the currently set level. Without arguments, the current level is displayed. Levels listed starting with + are added to the current levels. Levels listed starting with - are removed from the current levels. To clear the levels, start the new level setting with NONE. Levels listed starting with ^ are either removed or added from the current setting, depending on whether they were previously set or not (since Irssi 1.5). Levels listed as is are also added to the current levels. Afterwards, the new level setting is displayed.

Description

Manipulates the window layout and positioning attributes.

Examples

/WINDOW LEVEL -ALL +NOTICES
/WINDOW HIDELEVEL ^JOINS ^PARTS ^QUITS

See also

JOIN, LEVELS, LOG, QUERY