-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathawesome.ini
155 lines (134 loc) · 7.59 KB
/
awesome.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
; AWESOME - A TOP BAR FOR WINDOWS
; Nodge - During the 2020 Pandemic hell.
; If you're here, avoid editing these files.
; All settings are on your userfolder under the awesome folder
; ex: c:/users/nodge/awesome/HERESYOURFILE.INC
[Rainmeter]
Group = suiteAwesome
OnFocusAction = [!Log "Awesome: In focus"]
OncloseAction = [!CommandMeasure MeasureKill "Run"][!DeactivateConfig "awesome\Modules\processor"]["Wscript.exe" "#SKINSPATH#Awesome\@Resources\Scripts\Batch\RunBatch.vbs" "#SKINSPATH#Awesome\@Resources\Scripts\Batch\ResetWorkarea"][!DeactivateConfig "awesome\Modules\background"][!DeactivateConfig "awesome\topbar"][!Log "Awesome: Beeing removed"]
; OnUpdateAction = [!Log "Awesome: Updated"]
Update = -1
MouseActionCursor = 0
AccurateText = 1
RightMouseUpAction = []
[Metadata]
name = Awesome TOPBAR
author = Matheus "Nodge" Alves
information = A Modular, highly customizable top bar for Rainmeter
version = 0.2
license = GPL (GNU Public License) 3.0
[MeasureLuaInit]
Measure = Script
ScriptFile = #@#Scripts\Lua\startup.lua
UpdateDivider = -1
[Variables]
@IncludeDefault = #@#default.inc
@IncludeUserOverrides = #@#Themes\#oTheme#.inc
aTimeDate = ""
aSlide = 0
vReset = 1
; = ======================================================================
; EXTERNAL SCRIPTS INTERFACE
; = ======================================================================
[MeasureWindowMessage]
Measure = Plugin
Plugin = WindowMessagePlugin
WindowName = "#@#Scripts\AHK\awesome.ahk - AutoHotkey v#AHKVersion#"
DynamicVariables = 1
UpdateDivider = -1
[MeasureRun]
Measure = Plugin
Plugin = RunCommand
Parameter = taskkill /T /F /IM "Droptop Rainmeter.exe"
State = Hide
OutputType = ANSI
UpdateDivider = -1
[MeasureKill]
Measure = Plugin
Plugin = RunCommand
Parameter = taskkill /T /F /IM "awesome.exe"
State = Hide
OutputType = ANSI
UpdateDivider = -1
; = ======================================================================
; SKIN START SEQUENCE
; = ======================================================================
[MeasureStartup]
Measure = calc
Formula = ((MeasureStartup+1)*#vReset#)
IfCondition = ([MeasureStartup]=1) && (#oBarFixed#=1) && (#oBarAutoHide#=0)
IfTrueAction = [!CommandMeasure MeasureRun "Run"][!Delay 1000]["#@#Addons\Droptop Rainmeter.exe" #oReservedSpace#]
IfCondition2 = ([MeasureStartup]=1) && (#oBarFixed#=1) || (#oBarAutoHide#=1)
IfTrueAction2 = [!Move #oBarOffsetX# (#oBarOffsetY#*2+#oBarHeight#)]
IfCondition3 = ([MeasureStartup]=1) && (#oBarAutoHide#=1)
IfTrueAction3 = ["Wscript.exe" "#SKINSPATH#Awesome\@Resources\Scripts\Batch\RunBatch.vbs" "#SKINSPATH#Awesome\@Resources\Scripts\Batch\ResetWorkarea"]
IfCondition4 = ([MeasureStartup]=1)
IfTrueAction4 = [!Zpos 2][!Draggable 0][!ActivateConfig "awesome\Modules\processor"][!Zpos -1 "awesome\Modules\processor"][!Delay 300]["#@#Scripts\AHK\awesome.exe"][!Delay 300][!UpdateMeasure ProcessBackground awesome\Modules\processor][!UpdateMeasure ProcessForeground awesome\Modules\processor][!Move #oBarOffsetX# #oBarOffsetY# "awesome\topbar"]
; IfCondition =
; IfTrueAction =
DynamicVariables = 1
UpdateDivider = -1
; = ======================================================================
; RELOAD ACTION LIST - FOR UPDATING CONFIG
; = ======================================================================
[UpdateScreen]
Meter = Image
Solidcolor = 23,23,23,240
Group = gUpdate
X = 0
Y = 0
W = #WORKAREAWIDTH#
H = #WORKAREAHEIGHT#
hidden = 1
DynamicVariables = 1
[UpdateText]
Meter = String
Group = gUpdate
MeterStyle = UpdateText
Text = "Awesome is refreshing :)"
FontFace = Segoe UI
FontSize = 64
AntiAlias = 1
FontColor = 255,255,255
X = (((#SCREENAREAWIDTH#)-(#CURRENTCONFIGWIDTH#))/2)
Y = (((#SCREENAREAHEIGHT#)-(#CURRENTCONFIGHEIGHT#))/2)
DynamicVariables = 1
hidden = 1
[ShowUpdateScreen]
Measure = Plugin
Plugin = ActionTimer
ActionList1 = MakeZpos | KillAHK | ResetWorkspace | Wait 300 | ShowUpdateOverlay | Wait 300 | HideBar | TurnOfModules | Wait 3000 | HideUpdateScreen | RefreshEverything | Wait 1000 | ResetAwesome | Wait 300 | ResumeAwesome
KillAHK = [!CommandMeasure MeasureKill "Run"]
ResetWorkspace = ["Wscript.exe" "#SKINSPATH#Awesome\@Resources\Scripts\Batch\RunBatch.vbs" "#SKINSPATH#Awesome\@Resources\Scripts\Batch\ResetWorkarea"]
MakeZpos = [!ZPos 2]
ShowUpdateOverlay = [!ShowMeterGroup gUpdate][!Redraw]
HideUpdateScreen = [!HideMeterGroup gUpdate][!Redraw]
TurnOfModules = [!DeactivateConfigGroup gBar][!DeactivateConfigGroup gModule][!DeactivateConfigGroup gProcessor]
HideBar = [!HideFadeGroup gBar]
TurnOnModules = [!ActivateConfig "awesome\Modules\processor"]
RefreshEverything = [!RefreshApp]
ShowBar = [!ShowFadeGroup gBar]
ResetAwesome = [!setVariable vReset 0]
ResumeAwesome = [!setVariable vReset 1]
Disabled = 1
; = ======================================================================
; DEBUG ACTIONS AND METER
; = ======================================================================
; = = [[[[[[ METERS ]]]]]] ==
[MeasureDebug]
Measure = calc
UpdateDivider = -1
[MeterDebug]
Meter = String
Text = Awesome Bar - Debug Mode #CRLF# #CRLF#Bar Height: #oBarHeight# #CRLF#AHKTitlebarY: #vTitlebarY# #CRLF#IsWindowsMaximized: #vMaximized# #CRLF#IsFullScreen: #vFullScreen# #CRLF#ProcessName: #vProcess# #CRLF# #CRLF#Fixed: #oBarFixed# #CRLF#FirstRun: [&MeasureLuaInit:getFirstRun()] #CRLF#Times updated: [MeasureStartup] #CRLF#ShowStatus: #vStatus# #CRLF##CRLF#CurrentTextColor: #vForeground# #CRLF#CurrentHoverColor: #vBackground# #CRLF##CRLF#MediaStatus: #vMediaStatus# - #vMediaTrack# #CRLF#MediaType: #oMediaPlayer# #CRLF##CRLF#AHKBackground: #vBGColor# #CRLF#AHKWindowID: #wTitle# #CRLF##CRLF# Clock: #aTimeDate#
AntiAlias = 1
solidColor = #vBackground#
FontColor = #vForeground#
FontFace = Montserrat
Padding = 15,15,15,15
UpdateDivider = -1
DynamicVariables = 1
StringCase = Proper
LeftMouseUpAction = [!UpdateMeasure *][!UpdateMeter *][!Update]
Hidden = #oDisableDebug#