[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create a rule that matches windows and automatically places them in a specified group and frame. Each frame rule is a lambda list:
(frame-number raise lock &key from-group create restore dump-name class class-not instance instance-not type type-not role role-not title title-not match-properties-and-function match-properties-or-function) |
When nil, rule applies in the current group. When non nil, lock determines applicability of rule
The frame number to send matching windows to
When non-nil, raise and focus the window in its frame
When this is nil, this rule will only match when target-group matches the group designated by from-group. When non-nil, this rule matches regardless of the group and the window is sent to target-group. If lock and raise are both non-nil, then stumpwm will jump to the specified group and focus the matched window.
When lock is NIL, and this is non-NIL, this rule will only match when target-group matches from-group. This should be set to either a group name(a string), or an expression that returns a group(e.g (current-group)). When this is NIL, the rule matches if target-group matches the group the window is in, or the current group if the window has no group.
When non-NIL the group is created and eventually restored when the value of create is a group dump filename in *DATA-DIR*. Defaults to NIL.
When non-NIL the group is restored even if it already exists. This arg should be set to the dump filename to use for forced restore. Defaults to NIL
The windows class must match class.
The windows class must not match class-not
The windows instance/resource name must match instance.
The windows instance/resource name must not match instance-not.
The windows type must match type.
The windows type must not match type-not.
The windows role must match role.
The windows role must not match role-not.
The windows title must match title.
The windows title must not match title-not.
A function that, if provided, must return true alongside the provided properties in order for the rule to match. This function takes one argument, the window. Must be an unquoted symbol to be looked up at runtime.
A function that, if provided and returning true, will cause the rule to match regardless of whether the window properties match. Takes one argument, the window. Must be an unquoted symbol to be looked up at runtime.
Clear all window placement rules.
Make a generic placement rule for the current window. Might be too specific/not specific enough!
Forget the window placement rule that matches the current window.
Dump *window-placement-rules* to FILE.
Restore *window-placement-rules* from FILE.
List of rules governing window placement. Use define-frame-preference to add rules
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 28, 2024 using texi2html 1.82.