Revised "Configuring_rules.md"

This commit is contained in:
joten 2015-03-09 20:42:31 +01:00
parent 004c9452ed
commit 85f2dfb6ce
1 changed files with 10 additions and 8 deletions

View File

@ -15,7 +15,7 @@ Config_rule=<class>;
<function name>; <function name>;
<is managed>; <is managed>;
<monitor>; <monitor>;
<views tags>; <views / tags>;
<is floating>; <is floating>;
<is decorated>; <is decorated>;
<hide title>; <hide title>;
@ -29,9 +29,6 @@ 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:
@ -53,6 +50,12 @@ by using the variable name `Config_rule_#1`. If you want to _add_ a rule,
simply use `Config_rule` as the variable name; the numbering will be done simply use `Config_rule` as the variable name; the numbering will be done
automatically by bug.n when reading `Config.ini` using the order given there. automatically by bug.n when reading `Config.ini` using the order given there.
To get a draft for a new rule, you can use the hotkey
`#i::Manager_getWindowInfo()` (<kbd>Win</kbd><kbd>I</kbd>), which will give the
full class and title, additional information about and the current values for
the active window included in a string, which can be copied to the
`Config.ini`.
#### Views / Tags #### Views / Tags
You can set a window to more than one view. Add up the associated numbers as You can set a window to more than one view. Add up the associated numbers as
@ -91,8 +94,7 @@ line-oriented resizing of its own windows (frames).
#### Atlassian SourceTree #### Atlassian SourceTree
The following rule let bug.n refrain from managing the popup confirmation of The following rule excludes the confirmation dialog for removing files from the
removing file from working copy. working copy from being managed by bug.n.
`Config_rule=.*SourceTree.*;Confirm Remove Modified or Untracked Files?;;0;0;0;0;0;0;`
`Config_rule=.*SourceTree.*;Confirm Remove Modified or Untracked Files?;;0;0;0;1;1;0;`