[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8. Groups

Groups in StumpWM are more commonly known as virtual desktops or workspaces. Why not create a new term for it?

Command: gnew name

Create a new group with the specified name. The new group becomes the current group. If name begins with a dot (“.”) the group new group will be created in the hidden state. Hidden groups have group numbers less than one and are invisible to from gprev, gnext, and, optionally, groups and vgroups commands.

Command: gnew-float name

Create a floating window group with the specified name and switch to it.

Command: gnewbg-float name

Create a floating window group with the specified name, but do not switch to it.

Command: gnewbg name

Create a new group but do not switch to it.

Command: gnext

Cycle to the next group in the group list.

Command: gprev

Cycle to the previous group in the group list.

Command: gnext-with-window

Cycle to the next group in the group list, taking the current window along.

Command: gprev-with-window

Cycle to the previous group in the group list, taking the current window along.

Command: gother

Go back to the last group.

Command: gmerge from

Merge from into the current group. from is not deleted.

Command: groups &optional (fmt *group-format*)

Display the list of groups with their number and name. *group-format* controls the formatting. The optional argument fmt can be used to override the default group formatting.

Command: vgroups &optional gfmt wfmt

Like groups but also display the windows in each group. The optional arguments gfmt and wfmt can be used to override the default group formatting and window formatting, respectively.

Command: gselect &optional to-group

Accepts numbers to select a group, otherwise grouplist selects.

Command: gmove to-group

Move the current window to the specified group.

Command: gmove-and-follow to-group

Move the current window to the specified group, and switch to it.

Command: gmove-marked to-group

move the marked windows to the specified group.

Command: gkill

Kill the current group. All windows in the current group are migrated to the next group.

Command: gkill-other

Kill other groups. All windows in other groups are migrated to the current group.

Command: grename name

Rename the current group.

Command: grouplist &optional (fmt *group-format*)

Allow the user to select a group from a list, like windowlist for groups.

Variable: *list-hidden-groups*

nil

Variable: *group-top-maps*

nil

Variable: *default-group-name*

nil

Function: add-group screen name &key background (type *default-group-type*)

Create a new group in SCREEN with the supplied name. group names starting with a . are considered hidden groups. Hidden groups are skipped by gprev and gnext and do not show up in the group listings (unless *list-hidden-groups* is T). They also use negative numbers.

@ add-group

Function: group-add-head group head

A head is being added to this group’s screen.

@ group-add-head

Function: group-add-window group window &key frame raise &allow-other-keys

Called when a window is added to the group. All house keeping is already taken care of. Only the group’s specific window managing housekeeping need be done. This function accepts keys to inform the group on how to place the window.

@ group-add-window

Function: group-button-press group button x y child

The user clicked somewhere in the group.

@ group-button-press

Function: group-current-head group

The group is asked to return its current head.

@ group-current-head

Function: group-current-window group

The group is asked to return its focused window.

@ group-current-window

Function: group-delete-window group window

Called when a window is removed from thegroup. All house keeping is already taken care of. Only the group’s specific window managing housekeeping need be done.

@ group-delete-window

Function: group-focus-window group win

The group is asked to focus the specified window wherever it is.

@ group-focus-window

Function: group-indicate-focus group

The group is asked to in some way show the user where the keyboard focus is.

@ group-indicate-focus

Function: group-lost-focus group

The current window was hidden or destroyed or something happened to it. So the group is asked to do something smart about it.

@ group-lost-focus

Function: group-move-request group window x y relative-to

The window requested a position change.

@ group-move-request

Function: group-raise-request group window type

A request has been made to raise the window. TYPE is the type of raise request being made. :MAP means the window has made requested to be mapped. :above means the window has requested to to be placed above its siblings.

@ group-raise-request

Function: group-remove-head group head

A head is being removed from this group’s screen.

@ group-remove-head

Function: group-resize-head group oh nh

A head is being resized on this group’s screen.

@ group-resize-head

Function: group-resize-request group window width height

The window requested a width and/or height change.

@ group-resize-request

Function: group-root-exposure group

The root window got an exposure event. If the group needs to redraw anything on it, this is where it should do it.

@ group-root-exposure

Function: group-startup group

Called on all groups while stumpwm is starting up.

@ group-startup

Function: group-suspend group

When the group is no longer the current group, this function is called.

@ group-suspend

Function: group-sync-all-heads group

Called when the head configuration for the group changes.

@ group-sync-all-heads

Function: group-sync-head group head

When a head or its usable area is resized, this is called. When the modeline size changes, this is called.

@ group-sync-head

Function: group-wake-up group

When the group becomes the current group, this function is called. This call is expected to set the focus.

@ group-wake-up

Function: really-raise-window window

Really bring the window to the top of the window stack in group

@ really-raise-window

Variable: *run-or-raise-all-groups*

When this is T the run-or-raise function searches all groups for a running instance. Set it to NIL to search only the current group.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on January 28, 2024 using texi2html 1.82.