-
Notifications
You must be signed in to change notification settings - Fork 0
/
focus.ini
86 lines (73 loc) · 1.82 KB
/
focus.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[rainmeter]
@include=#@#common.inc
contextTitle=switch to editor.ini
contextAction=[!activateConfig "[#currentConfig]" "editor.ini"]
[metadata]
author=modkavartini
version=1.2.5
information=a skin to help make skins. focus.ini selects the skin you Ctrl+click and refreshes it upon Ctrl+S.
license=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
[variables]
@include=#@#lazyVars.inc
highlight=[&color]
editing=[&focus]
compactBang=[!setVariable configSet "(1-#compactMode#)"][!setVariable hidden 0]
[key]
measure=plugin
plugin=hotkey
hotkey=lctrl s
keyUpAction=[&action]
dynamicVariables=1
[iFS]
measure=plugin
plugin=isFullScreen
regExpSubstitute=1
substitute="^((?!Rainmeter.exe).)*$":"0","Rainmeter.exe":"1"
[noRMW]
measure=plugin
plugin=getActiveTitle
regexpsubstitute=1
substitute="Manage Rainmeter|About Rainmeter":"0","[^0].*":"1"
[skins]
measure=calc
formula=[&iFS]+[&noRMW]=2?1:0
substitute="1":"[!enableMeasureGroup focus][*#compactBang*]","0":"[]"
dynamicVariables=1
[focus]
measure=plugin
plugin=getActiveTitle
regExpSubstitute=1
substitute=".*Skins\\|\\[^\\]*$|Manage Rainmeter|About Rainmeter|.*[^ni]$":"","":"[#dedFocus]"
dynamicVariables=1
disabled=1
group=focus
[dedFocus]
measure=string
string=[#dedFocus]
[color]
measure=string
string=[&focus]
regExpSubstitute=1
substitute="^((?![dedFocus:escapeRegExp]).)*$":"green","[dedFocus:escapeRegExp]":"red"
dynamicVariables=1
[action]
measure=string
string=!refresh "[&focus]"
regExpSubstitute=1
substitute=".*[dedFocus:escapeRegExp].*":"[#defaultAction]"
dynamicVariables=1
disabled=1
group=focus
[activate]
measure=plugin
plugin=hotkey
hotkey=lctrl lbutton
keyDownAction=[&skins][!update][!redraw]
dynamicVariables=1
[deactivate]
measure=plugin
plugin=hotkey
hotkey=lctrl
keyUpAction=[!disableMeasureGroup focus][!update][!redraw]
[updates]
@include=#@#[#checkForUpdates].inc