From 9d618b3f32693e3c7f3d8a078cc2c1fbaa28da44 Mon Sep 17 00:00:00 2001 From: joten Date: Sun, 8 Feb 2015 17:56:15 +0100 Subject: [PATCH] Added missing documentation of Config_rules --- doc/CHANGES.md | 2 ++ doc/Configuring_rules.md | 2 +- doc/Default_configuration.md | 23 +++++++++++++++-------- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 5e50cd4..9d127c3 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -76,6 +76,8 @@ called with the window ID as a paramater, when applying the rule. | | `~` `Config_rule_#12` | | | | | `+` `Config_rule_#13` | | | | | `+` `Config_rule_#14` | | | +| | `+` `Config_rule_#15` | | | +| | `+` `Config_rule_#16` | | | ### 8.4.0 diff --git a/doc/Configuring_rules.md b/doc/Configuring_rules.md index 66efc8c..b5bbf65 100644 --- a/doc/Configuring_rules.md +++ b/doc/Configuring_rules.md @@ -59,7 +59,7 @@ The following `Config.ini` line replaces rule number 11 in the default configuration, putting windows of 'Mozilla Firefox' on view 5, keeping the title bar visible and maximizing them. -`Config_rule_#14=MozillaWindowClass;.*Mozilla Firefox;;1;0;16;0;1;0;maximize` +`Config_rule_#15=MozillaWindowClass;.*Mozilla Firefox;;1;0;16;0;1;0;maximize` #### Mozilla Thunderbird diff --git a/doc/Default_configuration.md b/doc/Default_configuration.md index 7d0b09c..858e14e 100644 --- a/doc/Default_configuration.md +++ b/doc/Default_configuration.md @@ -54,7 +54,8 @@ separated list, which contains the following items: `Config_backColor_#2=;;;;;;;;` > The background color of bar elements, which are highlighted depending on the -status, i. a. the active view, a discharging battery and the sound volume. +status, i. a. the active view, a discharging battery and the sound volume, if +it is not muted. `Config_backColor_#3=;;;;;;;ff8040;` > The background color of bar elements, which are highlighted depending on the @@ -67,7 +68,8 @@ foreground depends on the value of the progress bar. `Config_foreColor_#2=;;;;;;;;` > The foreground color of bar elements, which are highlighted depending on the -status, i. a. the active view, a discharging battery and the sound volume. +status, i. a. the active view, a discharging battery and the sound volume, if +it is not muted. `Config_foreColor_#3=;;;;;;;;` > The foreground color of bar elements, which are highlighted depending on the @@ -78,7 +80,8 @@ status, i. a. a discharging battery with a battery level lower than 10%. `Config_fontColor_#2=;;;;;;;;` > The font color of bar elements, which are highlighted depending on the -status, i. a. the active view, a discharging battery and the sound volume. +status, i. a. the active view, a discharging battery and the sound volume, if +it is not muted. `Config_fontColor_#3=;;;;;;;;` > The fontground color of bar elements, which are highlighted depending on the @@ -304,20 +307,24 @@ windows. `Config_rule_#11=Chrome_WidgetWin_1;.*;;1;0;0;0;1;0;` > Chrome web browser. If the window's title bar is hidden, it looks distorted. -`Config_rule_#12=Chrome_WidgetWin_1;.*;Window_isPopup;0;0;0;1;1;1;` +`Config_rule_#12=Chrome_WidgetWin_1;.*;Window_isPopup;0;0;0;1;1;0;` > With the preceding rule overriding #2 Chrome pop-up windows would be treated as new main windows. -`Config_rule_#13=IEFrame;.*Internet Explorer;;1;0;0;0;1;0;` +`Config_rule_#13=Chrome_RenderWidgetHostHWND;.*;;0;0;0;1;1;0;` +> These windows may represent new tabs, which should not be treated as new +windows. + +`Config_rule_#14=IEFrame;.*Internet Explorer;;1;0;0;0;1;0;` > Internet Explorer. If the window's title bar is hidden, it looks distorted. -`Config_rule_#14=MozillaWindowClass;.*Mozilla Firefox;;1;0;0;0;1;0;` +`Config_rule_#15=MozillaWindowClass;.*Mozilla Firefox;;1;0;0;0;1;0;` > Firefox web browser. If the window's title bar is hidden, it looks distorted. -`Config_rule_#15=MozillaDialogClass;.*;;1;0;0;1;1;0;` +`Config_rule_#16=MozillaDialogClass;.*;;1;0;0;1;1;0;` > These windows should also be treated as pop-up windows. -`Config_ruleCount=15` +`Config_ruleCount=16` > This variable will be automatically set to the total number of active rules above.