;---------------------------------------------------------------------
; ENIGMA RECYCLER

[Rainmeter]
Author=Kaelri
AppVersion=2001000
LeftMouseDoubleClickAction=!Execute [!WriteKeyValue Variables Variant1 #Variant2#][!WriteKeyValue Variables Variant2 #Variant3#][!WriteKeyValue Variables Variant3 #Variant4#][!WriteKeyValue Variables Variant4 #Variant5#][!WriteKeyValue Variables Variant5 #Variant6#][!WriteKeyValue Variables Variant6 #Variant1#][!Refresh]

[Variables]
@include=#SKINSPATH#Serenity\Group2\UserVariables.inc

;---------------------------------------------------------------------
; STYLES

@include2=#SKINSPATH#Serenity\Group2\Variables.inc
@include3=#SKINSPATH#Serenity\Group2\TaskbarCommon.inc
Variant1=IconRight
Variant2=Textless
Variant3=Normal
Variant4=Mini
Variant5=Tiny
Variant6=Icon

;---------------------------------------------------------------------
; MEASURES

[MeasureBinCount]
Measure=Plugin
Plugin=RecycleManager.dll
RecycleType=COUNT
Drives=ALL
UpdateDivider=10

; [MeasureBinSize]
; Measure=Plugin
; Plugin=RecycleManager.dll
; RecycleType=SIZE
; Drives=ALL
; UpdateDivider=10

[MeasureFull]
Measure=Calc
Formula=MeasureBinCount>0

;---------------------------------------------------------------------
; METERS

[Background]
Meter=IMAGE
MeterStyle=Style#Variant1#Background

[Icon]
Meter=IMAGE
MeterStyle=Style#Variant1#Icon | StyleRecyclerIcon
MeasureName=MeasureFull
LeftMouseUpAction=!execute [!PluginBang "MeasureBinCount OpenBin"][!Refresh]
RightMouseUpAction=!execute [!PluginBang "MeasureBinCount EmptyBin"][!Refresh]
TooltipText=· Left-click to open the Recycle Bin in an Explorer window.#CRLF#· Right-click the icon to empty the Recycle Bin.

[Recycler]
Meter=STRING
MeterStyle=Style#Variant1#Text
MeasureName=MeasureBinCount
Text="%1 ITEMS"
LeftMouseUpAction=!execute [!PluginBang "MeasureBinCount OpenBin"][!Refresh]
RightMouseUpAction=!execute [!PluginBang "MeasureBinCount EmptyBin"][!Refresh]
TooltipText=· Left-click to open the Recycle Bin in an Explorer window.#CRLF#· Right-click the icon to empty the Recycle Bin.

[Label]
Meter=STRING
MeterStyle=Style#Variant1#Label
; MeasureName=MeasureBinSize
; AutoScale=1
; NumOfDecimals=0
Text="BIN"

;---------------------------------------------------------------------
; METADATA

[Metadata]
Name=Enigma Recycler
Config=Enigma | Taskbar | Recycler
Description=This skin shows the state and size of your Recycle Bin.
Instructions=· Double-click to switch to the next variant. | · Middle-click to refresh. | · Load Enigma\Options.ini to change options for this skin.
Version=3.1
Tags=Taskbar | System
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
