Merge pull request #34 from louy2/louy2-config-doc
Reformat, move config pattern & add window id info
This commit is contained in:
commit
004c9452ed
1 changed files with 19 additions and 5 deletions
|
@ -6,6 +6,22 @@ Not all windows should be managed by bug.n the same way, or even may not be
|
||||||
managable at all. To handle windows differently, you can add rules to the
|
managable at all. To handle windows differently, you can add rules to the
|
||||||
configuration.
|
configuration.
|
||||||
|
|
||||||
|
The general format of a rule added to `Config.ini` is as follows (all in one
|
||||||
|
line, ";" is not allowed as a character in the field values):
|
||||||
|
|
||||||
|
```
|
||||||
|
Config_rule=<class>;
|
||||||
|
<title>;
|
||||||
|
<function name>;
|
||||||
|
<is managed>;
|
||||||
|
<monitor>;
|
||||||
|
<views tags>;
|
||||||
|
<is floating>;
|
||||||
|
<is decorated>;
|
||||||
|
<hide title>;
|
||||||
|
<action on a single window>
|
||||||
|
```
|
||||||
|
|
||||||
With the first part of the rule, you identify the window using the
|
With the first part of the rule, you identify the window using the
|
||||||
following information:
|
following information:
|
||||||
|
|
||||||
|
@ -13,6 +29,9 @@ following information:
|
||||||
2. title (as a regular expression)
|
2. title (as a regular expression)
|
||||||
3. arbitrary criterion (as a function name, e. g. "Window_isPopup", or blank)
|
3. arbitrary criterion (as a function name, e. g. "Window_isPopup", or blank)
|
||||||
|
|
||||||
|
If you encounter a window you want to configure about, you can retrieve its
|
||||||
|
identifying information with the hotkey `#I` a.k.a. <kbd>Win</kbd><kbd>I</kbd>.
|
||||||
|
|
||||||
With the second part you can give bug.n the following information on how to
|
With the second part you can give bug.n the following information on how to
|
||||||
handle the identified windows:
|
handle the identified windows:
|
||||||
|
|
||||||
|
@ -27,11 +46,6 @@ removed.
|
||||||
6. Should the title text be hidden in the bug.n bar (0 = no, 1 = yes)?
|
6. Should the title text be hidden in the bug.n bar (0 = no, 1 = yes)?
|
||||||
7. A special single window action (`close` or `maximize` or blank).
|
7. A special single window action (`close` or `maximize` or blank).
|
||||||
|
|
||||||
The general format of a rule added to `Config.ini` is as follows:
|
|
||||||
`Config_rule=<class>;<title>;<function name>;<is managed>;<monitor>;<views /
|
|
||||||
tags>;<is floating>;<is decorated>;<hide title>;<action on a single window>`
|
|
||||||
(all in one line, ";" is not allowed as a character in the field values)
|
|
||||||
|
|
||||||
If you want to replace a rule, which is already set in `Config.ahk`, you will
|
If you want to replace a rule, which is already set in `Config.ahk`, you will
|
||||||
have to use the correct variable name; e. g. you may set a default rule
|
have to use the correct variable name; e. g. you may set a default rule
|
||||||
(identifying part: `.*;.*;`), overwriting the first rule set in `Config.ahk`,
|
(identifying part: `.*;.*;`), overwriting the first rule set in `Config.ahk`,
|
||||||
|
|
Loading…
Reference in a new issue