Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1. ; Lines starting ; (semicolons) are commented out.
  2. ; That is, they do not affect the code and are here for demonstration purposes only.
  3. ; ----------------------------------
  4.  
  5. [Rainmeter]
  6. ; This section contains general settings that can be used to change how Rainmeter behaves.
  7. Update=1000
  8. Background=#@#Background.png
  9. ; #@# is equal to Rainmeter\Skins\illustro\@Resources
  10. BackgroundMode=3
  11. BackgroundMargins=0,34,0,14
  12.  
  13. [Metadata]
  14. ; Contains basic information of the skin.
  15. Name=System
  16. Author=poiru
  17. Information=Displays basic system stats.
  18. License=Creative Commons BY-NC-SA 3.0
  19. Version=1.0.0
  20.  
  21. [Variables]
  22. ; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
  23. fontName=Lucida Calligraphy
  24. textSize=8
  25. colorBar=0,255,0,255
  26. colorText=255,255,255,205
  27.  
  28. ; ----------------------------------
  29. ; MEASURES return some kind of value
  30. ; ----------------------------------
  31.  
  32. [measureCPU]
  33. ; This measure returns the average CPU load between all cores.
  34. Measure=CPU
  35. Processor=0
  36.  
  37. [measureRAM]
  38. ; Returns the amount of RAM used in bytes.
  39. Measure=PhysicalMemory
  40. UpdateDivider=20
  41. ; UpdateDivider sets the rate at which the value of the measure is updated. It is
  42. ; calculated as follows: UpdateDivider x Update. In this case, Update is set to
  43. ; 1000 milliseconds (in the [Rainmeter] section). 1000 x 20 = 20000 ms or 20 seconds.
  44.  
  45. [measureSWAP]
  46. ; Returns the amount of SWAP (pagefile) used in bytes.
  47. Measure=SwapMemory
  48. UpdateDivider=20
  49.  
  50. ; ----------------------------------
  51. ; STYLES are used to "centralize" options
  52. ; ----------------------------------
  53.  
  54. [styleTitle]
  55. StringAlign=Center
  56. StringCase=Upper
  57. StringStyle=Bold
  58. StringEffect=Shadow
  59. FontEffectColor=0,0,0,50
  60. FontColor=#colorText#
  61. FontFace=#fontName#
  62. FontSize=10
  63. AntiAlias=1
  64. ClipString=1
  65.  
  66. [styleLeftText]
  67. StringAlign=Left
  68. ; Meters using styleLeftText will be left-aligned.
  69. StringCase=None
  70. StringStyle=Bold
  71. StringEffect=Shadow
  72. FontEffectColor=0,0,0,20
  73. FontColor=#colorText#
  74. FontFace=#fontName#
  75. FontSize=#textSize#
  76. AntiAlias=1
  77. ClipString=1
  78.  
  79. [styleRightText]
  80. StringAlign=Right
  81. StringCase=None
  82. StringStyle=Bold
  83. StringEffect=Shadow
  84. FontEffectColor=0,0,0,20
  85. FontColor=#colorText#
  86. FontFace=#fontName#
  87. FontSize=#textSize#
  88. AntiAlias=1
  89. ClipString=1
  90.  
  91. [styleBar]
  92. BarColor=#colorBar#
  93. BarOrientation=HORIZONTAL
  94. SolidColor=255,255,255,15
  95.  
  96. ; ----------------------------------
  97. ; METERS display images, text, bars, etc.
  98. ; ----------------------------------
  99.  
  100. [meterTitle]
  101. Meter=String
  102. MeterStyle=styleTitle
  103. ; Using MeterStyle=styleTitle will basically "copy" the
  104. ; contents of the [styleTitle] section here during runtime.
  105. X=100
  106. Y=12
  107. W=190
  108. H=18
  109. Text=System
  110. ; Even though the text is set to System, Rainmeter will display
  111. ; it as SYSTEM, because styleTitle contains StringCase=Upper.
  112. LeftMouseUpAction=["taskmgr.exe"]
  113. ; Left-clicking this meter will launch taskmgr.exe (the Task Manager).
  114. ToolTipText=Open Task Manager
  115. ; Hovering over this meter will display a tooltip with the text above.
  116.  
  117. [meterLabelCPU]
  118. Meter=String
  119. MeterStyle=styleLeftText
  120. X=10
  121. Y=40
  122. W=190
  123. H=14
  124. Text=CPU Usage
  125.  
  126. [meterValueCPU]
  127. Meter=String
  128. MeterStyle=styleRightText
  129. MeasureName=measureCPU
  130. X=200
  131. Y=0r
  132. ; r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels
  133. ; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
  134. W=190
  135. H=14
  136. Text=%1%
  137. ; %1 stands for the value of MeasureName (measureCPU in this case).
  138.  
  139. [meterBarCPU]
  140. Meter=Bar
  141. MeterStyle=styleBar
  142. MeasureName=measureCPU
  143. X=10
  144. Y=52
  145. W=190
  146. H=1
  147.  
  148. [meterLabelRAM]
  149. Meter=String
  150. MeterStyle=styleLeftText
  151. X=10
  152. Y=60
  153. W=190
  154. H=14
  155. Text=RAM Usage
  156.  
  157. [meterValueRAM]
  158. Meter=String
  159. MeterStyle=styleRightText
  160. MeasureName=measureRAM
  161. X=200
  162. Y=0r
  163. W=190
  164. H=14
  165. Text=%1%
  166. Percentual=1
  167. ; Percentual=1 needs to be added her because measureRAM returns the amount
  168. ; of RAM used in bytes. Using Percentual=1 will convert that into a percentual value.
  169.  
  170. [meterBarRAM]
  171. Meter=Bar
  172. MeterStyle=styleBar
  173. MeasureName=measureRAM
  174. X=10
  175. Y=72
  176. W=190
  177. H=1
  178.  
  179. [meterLabelSWAP]
  180. Meter=String
  181. MeterStyle=styleLeftText
  182. X=10
  183. Y=80
  184. W=190
  185. H=14
  186. Text=SWAP Usage
  187.  
  188. [meterValueSWAP]
  189. Meter=String
  190. MeterStyle=styleRightText
  191. MeasureName=measureSWAP
  192. X=200
  193. Y=0r
  194. W=190
  195. H=14
  196. Text=%1%
  197. Percentual=1
  198.  
  199. [meterBarSWAP]
  200. Meter=Bar
  201. MeterStyle=styleBar
  202. MeasureName=measureSWAP
  203. X=10
  204. Y=92
  205. W=190
  206. H=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement