Changes between Version 7 and Version 8 of Prefs2
- Timestamp:
- Sep 16, 2019, 12:03:34 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Prefs2
v7 v8 50 50 * "time": time of day 51 51 * "on_batteries": whether system is running on batteries 52 * "exclusive_app_running": whether an exclusive appis running52 * app_name: whether a given application is running 53 53 * "non_boinc_cpu_usage": fraction of CPU used for non-BOINC apps recently 54 54 … … 71 71 * "nonzero": the value of the item is nonzero (i.e. Boolean true) 72 72 * "time range": the value of the item (usually "time") lies in a set of day/week intervals. 73 * "app_running": an app of the given name is running 73 74 74 A term can also have a "n egate" flag, which if set reverses its sense.75 A term can also have a "not" flag, which if set reverses its sense. 75 76 76 77 The XML representation of a term: … … 78 79 <term> 79 80 <item>item-name</item> 80 <type>x</type> // 1 = greater than, 2 = nonzero, 3 = time range 81 [<n egate/>]81 <type>x</type> // 1 = greater than, 2 = nonzero, 3 = time range, 4 = app running 82 [<not/>] 82 83 [<thresh>x</thresh>] // if greater than 83 84 [<time_range>...</time_range>] // if time range … … 104 105 {{{ 105 106 <condition> 106 [<n egate/>]107 [<not/>] 107 108 <term> ... </term> 108 109 ...