Bang Commands

Some bang commands refer to a desktop, monitor, or window. See the section on Descriptions for the syntax for specifying these elements.

!sbCloseWindow (window)
Closes the indicated window.
!sbCreate
Creates a new desk containing the foreground task and switch to it. This is equivalent to dragging the foreground task to an unused part of the taskbar, or '!vwmMoveApp new'.
!sbDestroy
Synonym for '!sbMerge prev'
!sbDesk (desk)
Switch to the given desk, where (desk) is either a number (eg "!vwmDesk 1") or a description (eg "!vwmDesk next"). See "Desk descriptions".
!sbGather
Combine all desktops into one, moving all windows on screen.
!sbMaximizeWindow (window)
Maximizes the given window. If no window is specified, affects the foreground window.
!sbMerge (desk)
Merge the current desktop with the specified desktop, leaving one desktop with the windows and tasks of both.
!sbMinimizeWindow (window)
Minimizes the given window. If no window is specified, affects the foreground window.
!sbMoveAndReorder
Moves a task that is being dragged to the hovered position, both moving it to a different desk if needed, and a different position in the task order.
!sbMoveApp (window) (desk)
!sbMoveApp (desk)
If both arguments are given, moves the specified window to the given desk. If only a desk is given, moves the foreground app. In either case, the destination desk becomes focused.
!sbMoveDesk (desk)
Reorders desktops so that the current desktop is in the specified position. For example, "!sbMoveDesk last" moves the current desktop to the end of the list, while "!sbMoveDesk prev" moves the current desktop up one.
!sbMoveWindow
Moves the foreground window, as though you had picked 'move' from its system menu.
!sbNext
!sbPrev
!sbUp
!sbDown
!sbLeft
!swnRight
Switches the current desktop. These are short for !vwmDesk with different parameters. See "Desk Descriptions". Up/left means prev and down/right means next.
!sbOntopToggle
Toggles whether or not Screenbar is always on top.
!sbOpen (desk) (command)
Switches to the given desk and then runs the given command or program.
!sbRaiseWindow (window)
Raises the given window to the foreground.
!sbReorderTask [task] [hovered|first|last]
Moves a task to the given position in the order on the taskbar. If no task is specified, moves task which is being dragged. If no task and no position is specified, moves to the hovered position. Hovered position is determined by looking for the bottom-most hovered layout element with a task in its context, and placing the task before it (if hovering over the left side of that element) or after it (if hovering over the right side of that element).
!sbResizeWindow (window)
Resizes the specified window, as though you had picked 'resize' from its system menu.
!sbSeparate (desk)
!sbSeparateAll
Splits up desktops, making one desktop per window.
!sbShow
!sbHide
Makes Screenbar visible or invisible.