Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Lines starting ; (semicolons) are commented out.
- ; That is, they do not affect the code and are here for demonstration purposes only.
- ; ----------------------------------
- [Rainmeter]
- ; This section contains general settings that can be used to change how Rainmeter behaves.
- Update=1000
- Background=#@#Background.png
- BackgroundMode=3
- BackgroundMargins=0,34,0,14
- DynamicWindowSize=1
- Group=ASDF
- #OnUpdateAction=[!Refresh]
- OnRefreshAction=[!Move (#SCREENAREAWIDTH#-220) 0]
- #WindowX=(#SCREENAREAWIDTH#) -220
- #WindowY=100
- [Metadata]
- ; Contains basic information of the skin.
- Name=InformationSysteme
- Author=ASDF
- Information=Affiche les informations de base de l'ordinateur
- License=ASDF
- Version=1.1.0
- [Variables]
- ; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
- fontName=Trebuchet MS
- textSize=11
- colorBar=235,170,0,255
- colorText=255,255,255,205
- SecondInterface=1
- WifiPosition="25r"
- #VarWinVersion="banane"
- ; ----------------------------------
- ; MEASURES return some kind of value
- ; ----------------------------------
- [MeasureComputerName]
- Measure=SysInfo
- #Plugin=SysInfo
- SysInfoType=COMPUTER_NAME
- [MeasureOS]
- Measure=SysInfo
- #Plugin=SysInfo
- SysInfoType=OS_VERSION
- [MeasureDomain]
- Measure=SysInfo
- #Plugin=SysInfo
- SysInfoType=DOMAIN_NAME
- [MeasureWindowsDisplayVersion]
- Measure=Registry
- RegHKey=HKEY_LOCAL_MACHINE
- RegKey=Software\Microsoft\Windows NT\CurrentVersion
- RegValue=DisplayVersion
- UpdateDivider=-1
- IfMatch=\w+
- IfMatchAction=[!SetOption meterLabelOS Text "[MeasureOS] [MeasureWindowsDisplayVersion]"]
- #IfNotMatchAction=[!SetOption meterLabelOS Text "[MeasureOS] [MeasureWindowsVersion]"]
- [MeasureWindowsVersion]
- Measure=Registry
- RegHKey=HKEY_LOCAL_MACHINE
- RegKey=Software\Microsoft\Windows NT\CurrentVersion
- RegValue=ReleaseId
- UpdateDivider=-1
- [MeasureASDFProfile]
- Measure=Registry
- RegHKey=HKEY_LOCAL_MACHINE
- RegKey=Software\ASDF\OSD
- RegValue=Profile
- UpdateDivider=-1
- #IfCondition=([MeasureASDFProfile] = 0)
- #IfTrueAction=[!SetOption meterLabelProfile Y 0r][!SetOptionGroup "Profile" Hidden 1]
- #IfFalseAction=[!SetOption meterLabelProfile Y 25r][!SetOptionGroup "Profile" Hidden 0]
- #ifMatch=0
- #IfNotMatchAction=[!SetOption meterLabelProfile Y 25r][!SetOptionGroup "Profile" Hidden 0]
- #IfMatchAction=[!SetOption meterLabelProfile Y 0r][!SetOptionGroup "Profile" Hidden 1]
- DynamicVariables=1
- [MeasureASDFRole]
- Measure=Registry
- RegHKey=HKEY_LOCAL_MACHINE
- RegKey=Software\ASDF\OSD
- RegValue=Role
- UpdateDivider=-1
- #IfCondition=MeasureASDFProfile > 0
- #IfTrueAction=[!ShowMeterGroup "Profile"][!HideMeterGroup "Role"]
- #IfCondition2=(MeasureASDFProfile = 0 ) && (MeasureASDFRole > 0)
- #IfTrueAction2=[!ShowMeterGroup "Role"][!HideMeterGroup "Profile"]
- #IfCondition3=(MeasureASDFProfile = 0 ) && (MeasureASDFRole = 0)
- #IfTrueAction3=[!HideMeterGroup "Profile"][!HideMeterGroup "Role"]
- #IfCondition=([MeasureASDFProfile] <> 0)
- #IfTrueAction=[!SetOption meterLabelRole Y 0r][!SetOptionGroup "Role" Hidden 1]
- #IfCondition2=([MeasureASDFRole] = 0) && ([MeasureASDFProfile] <> 0)
- #IfFalseAction=[!SetOption meterLabelRole Y 25r][!SetOptionGroup "Role" Hidden 0]
- DynamicVariables=1
- [MeasureASDFProfileRole]
- Measure=String
- String=[MeasureASDFProfile];[MeasureASDFRole]
- RegExpSubstitute=1
- Substitute="^0;0$":";","(.+);0$":"\1;","^0;(.+)":";\1"
- IfMatch=.+;
- IfMatchAction=[!ShowMeterGroup "Profile"][!HideMeterGroup "Role"][!SetOption meterLabelProfile Y 25r][!SetOption meterLabelRole Y 0r]
- IfMatch2=^;.+
- IfMatchAction2=[!ShowMeterGroup "Role"][!HideMeterGroup "Profile"][!SetOption meterLabelProfile Y 0r][!SetOption meterLabelRole Y 25r]
- IfMatch3=^;$
- IfMatchAction3=[!HideMeterGroup "Profile"][!HideMeterGroup "Role"][!SetOption meterLabelProfile Y 0r][!SetOption meterLabelRole Y 0r]
- DynamicVariables=1
- [MeasureIP1]
- Measure=SysInfo
- #Plugin=SysInfo
- Group=IPInfo
- SysInfoType=IP_ADDRESS
- SysInfoData=0
- DynamicVariables=1
- IfMatch=^127.0.0.1$|^0.0.0.0$
- IfMatchAction=[!SetOption meterValueIP1Off Hidden 0][!SetOption meterValueIP1 Hidden 1][!UpdateMeasureGroup IPInfo]
- IfNotMatchAction=[!SetOption meterValueIP1Off Hidden 1][!SetOption meterValueIP1 Hidden 0][!UpdateMeasureGroup IPInfo]
- ;IfMatchAction=[!ToggleMeter "meterLabelIP1"][!ToggleMeter "meterValueIP1"][!UpdateMeasureGroup IPInfo]
- [MeasureIP2]
- Measure=SysInfo
- #Plugin=SysInfo
- Group=IPInfo
- SysInfoType=IP_ADDRESS
- SysInfoData=#SecondInterface#
- DynamicVariables=1
- IfCondition=#SecondInterface# > 5
- IfTrueAction=[!SetVariable SecondInterface 1][!UpdateMeasureGroup IPInfo]
- IfMatch=^127.0.0.1$|^0.0.0.0$|^$
- IfMatchAction=[!SetVariable SecondInterface (#SecondInterface#+1)][!SetOptionGroup "IP2" Hidden 1][!SetOption meterLabelIP2 Y 0][!SetOption meterLabelWiFi Y "60r"]
- IfNotMatchAction=[!SetOptionGroup "IP2" Hidden 0][!SetOption meterLabelIP2 Y 25r][!SetOption meterLabelWiFi Y "25r"]
- IfMatchMode=1
- ;IfCondition=#SecondInterface# > 10
- ;IfTrueAction=[!SetOptionGroup "IP2" Hidden 1][!SetOption meterLabelIP2 Y 0][!SetOption meterLabelWiFi Y "60r"][!UpdateMeasureGroup IPInfo]
- ;IfFalseAction=[!SetOptionGroup "IP2" Hidden 0][!SetOption meterLabelIP2 Y 25r][!SetOption meterLabelWiFi Y "25r"][!UpdateMeasureGroup IPInfo]
- ;IfMatch1=^$
- ;IfMatchAction=[!SetOptionGroup "IP2" Hidden 1][!SetOption meterLabelIP2 Y 0][!SetOption meterLabelWiFi Y "60r"][!UpdateMeasureGroup IPInfo]
- ;IfNotMatchAction=[!SetOptionGroup "IP2" Hidden 0][!SetOption meterLabelIP2 Y 25r][!SetOption meterLabelWiFi Y "25r"][!UpdateMeasureGroup IPInfo]
- ;IfMatchAction=[!SetOption meterLabelIP2 Hidden 1][!SetOption meterValueIP2 Hidden 1][!UpdateMeasureGroup IPInfo]
- ;IfNotMatchAction=[!SetOption meterLabelIP2 Hidden 0][!SetOption meterValueIP2 Hidden 0][!UpdateMeasureGroup IPInfo]
- ;IfMatchAction=[!ToggleMeter "meterLabelIP2"][!ToggleMeter "meterValueIP2"][!UpdateMeasureGroup IPInfo]
- [MeasureSSID]
- Measure=Plugin
- Group=WiFi
- Plugin=WiFiStatus
- WiFiInfoType=SSID
- WiFiIntfID=0
- DynamicVariables=1
- IfMatch=^$
- IfNotMatchAction=[!SetVariable SecondInterface 1][!UpdateMeasureGroup IPInfo][!UpdateMeasureGroup WiFi]
- [MeasureWifiSignal]
- Measure=Plugin
- Group=WiFi
- Plugin=WiFiStatus
- WiFiInfoType=Quality
- WiFiIntfID=0
- DynamicVariables=1
- IfBelowValue=1
- IfBelowAction=[!SetOptionGroup "WiFi" Hidden 1][!SetVariable SecondInterface 1][!UpdateMeasureGroup IPInfo][!UpdateMeasureGroup WiFi]
- IfAboveAction=[!SetOptionGroup "WiFi" Hidden 0][!SetVariable SecondInterface 1][!UpdateMeasureGroup IPInfo][!UpdateMeasureGroup WiFi]
- [MeasureFreeDiskSpace]
- Measure=FreeDiskSpace
- Group=LowDiskSpace
- Drive=C:
- UpdateDivider=5
- [MeasureTotalDiskSpace]
- Measure=FreeDiskSpace
- Drive=C:
- Total=1
- UpdateDivider=5
- [MeasureFreeDiskSpace2]
- Measure=FreeDiskSpace
- Drive=C:
- UpdateDivider=5
- IfCondition=(MeasureFreeDiskSpace / MeasureTotalDiskSpace)*100 < 11
- IfTrueAction=[!SetOption meterLabelLowDiskSpace Y 25r][!SetOptionGroup "LowDiskSpace" Hidden 0][!UpdateMeasureGroup LowDiskSpace]
- IfFalseAction=[!SetOption meterLabelLowDiskSpace Y 0r][!SetOptionGroup "LowDiskSpace" Hidden 1][!UpdateMeasureGroup LowDiskSpace]
- [MeasureUptime]
- Measure=Uptime
- Format="%4!i! jours %3!i!h%2!02i!"
- [MeasureBatteryLevel]
- Measure=Plugin
- PlugIn=PowerPlugin
- PowerState=Percent
- UpdateDivider=8
- MaxValue=100
- MinValue=0
- OnChangeAction=[!UpdateMeter MeterValueBattery]
- [MeasureBattStatusValue]
- Measure=Plugin
- PlugIn=PowerPlugin
- PowerState=Status
- IfCondition=MeasureBattStatusValue <> 0
- IfTrueAction=[!SetOption MeterLabelBattery Y 25r][!SetOptionGroup "BattInfo" Hidden 0][!UpdateMeasureGroup BattInfo]
- IfFalseAction=[!SetOption MeterLabelBattery Y 0r][!SetOptionGroup "BattInfo" Hidden 1][!UpdateMeasureGroup BattInfo]
- [MeasureACLineValue]
- Measure=Plugin
- PlugIn=PowerPlugin
- PowerState=ACLine
- Substitute="0":"Sur batterie","1":"Sur secteur"
- [MeasureManufacturer]
- Measure=Registry
- RegHKey=HKEY_LOCAL_MACHINE
- RegKey=HARDWARE\DESCRIPTION\System\BIOS
- RegValue=SystemManufacturer
- UpdateDivider=-1
- [MeasureModel]
- Measure=Registry
- RegHKey=HKEY_LOCAL_MACHINE
- RegKey=HARDWARE\DESCRIPTION\System\BIOS
- RegValue=SystemProductName
- UpdateDivider=-1
- ; ----------------------------------
- ; STYLES are used to "centralize" options
- ; ----------------------------------
- [styleTitle]
- StringAlign=Center
- StringCase=Upper
- StringStyle=Bold
- StringEffect=Shadow
- FontEffectColor=0,0,0,50
- FontColor=#colorText#
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleLeftText]
- StringAlign=Left
- ; Meters using styleLeftText will be left-aligned.
- StringCase=None
- StringStyle=Bold
- StringEffect=Shadow
- FontEffectColor=0,0,0,20
- FontColor=#colorText#
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleRightText]
- StringAlign=Right
- StringCase=None
- StringStyle=Bold
- StringEffect=Shadow
- FontEffectColor=0,0,0,20
- FontColor=#colorText#
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleLeftTextWarning]
- StringAlign=Left
- StringCase=None
- StringStyle=Bold
- StringEffect=Shadow
- FontEffectColor=0,0,0,20
- FontColor=255,0,0,205
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleRightTextWarning]
- StringAlign=Right
- StringCase=None
- StringStyle=Bold
- StringEffect=Shadow
- FontEffectColor=0,0,0,20
- FontColor=255,0,0,205
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleCenterText]
- StringAlign=Center
- StringCase=None
- StringStyle=Bold
- StringEffect=Shadow
- FontEffectColor=0,0,0,20
- FontColor=#colorText#
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleBar]
- BarColor=#colorBar#
- BarOrientation=HORIZONTAL
- SolidColor=255,255,255,15
- ; ----------------------------------
- ; METERS display images, text, bars, etc.
- ; ----------------------------------
- [meterTitle]
- Meter=String
- MeterStyle=styleTitle
- MeasureName=MeasureComputerName
- ; Using MeterStyle=styleTitle will basically "copy" the
- ; contents of the [styleTitle] section here during runtime.
- X=100
- Y=12
- W=190
- H=20
- Text=%1
- ; Even though the text is set to System, Rainmeter will display
- ; it as SYSTEM, because styleTitle contains StringCase=Upper.
- LeftMouseUpAction=["taskmgr.exe"]
- ; Left-clicking this meter will launch taskmgr.exe (the Task Manager).
- ToolTipText=Ouvrir Gestionnaire de tâche
- ; Hovering over this meter will display a tooltip with the text above.
- [meterLabelOS]
- Meter=String
- MeterStyle=styleLeftText
- MeasureName=MeasureWindowsVersion
- MeasureName2=MeasureOS
- X=10
- Y=25r
- W=190
- H=20
- Text=%2 %1
- [meterLabelProfile]
- Meter=String
- Group=Profile
- MeasureName=MeasureASDFProfile
- MeterStyle=styleLeftText
- X=10
- Y=25r
- ;W=190
- ;H=20
- Text=%1
- Hidden=0
- [meterLabelRole]
- Meter=String
- Group=Role
- MeasureName=MeasureASDFRole
- MeterStyle=styleLeftText
- X=10
- Y=25r
- ;W=190
- ;H=20
- Text=%1
- Hidden=0
- [meterValueModel]
- Meter=String
- Group=Model
- MeasureName=MeasureModel
- MeterStyle=styleLeftText
- X=10
- Y=25r
- ;W=190
- ;H=20
- Text=%1
- Hidden=0
- [meterLabelLowDiskSpace]
- Meter=String
- Group=LowDiskSpace
- MeterStyle=styleLeftTextWarning
- X=10
- Y=25r
- ;W=190
- ;H=20
- Percentual=1
- Text=Espace libre faible
- Hidden=0
- [meterValueLowDiskSpace]
- Meter=String
- Group=LowDiskSpace
- MeterStyle=styleRightTextWarning
- MeasureName=MeasureFreeDiskSpace
- X=200
- Y=0r
- ;W=190
- ;H=20
- Percentual=1
- Text=%1%
- Hidden=0
- [MeterLabelDomain]
- Meter=String
- Group=Domain
- X=10
- Y=25r
- MeterStyle=styleLeftText
- Text="Domaine"
- [MeterValueDomain]
- Meter=String
- MeasureName=MeasureDomain
- MeterStyle=styleRightText
- X=200
- Y=0r
- Text=%1
- [MeterLabelUptime]
- Meter=String
- Group=Uptime
- X=10
- Y=25r
- MeterStyle=styleLeftText
- Text="Uptime"
- [MeterValueUptime]
- Meter=String
- MeasureName=MeasureUptime
- MeterStyle=styleRightText
- X=200
- Y=0r
- Text=%1
- [MeterLabelACLine]
- Meter=STRING
- MeterStyle=styleLeftText
- X=10
- Y=25r
- Text="Alimentation"
- [MeterValueACLine]
- Meter=STRING
- X=200
- Y=0r
- MeasureName=MeasureACLineValue
- MeterStyle=styleRightText
- Text=%1
- [MeterLabelBattery]
- Meter=STRING
- MeterStyle=styleLeftText
- Group=BattInfo
- X=10
- Y=25r
- Text="Batterie"
- Hidden=1
- [MeterValueBattery]
- Meter=STRING
- X=200
- Y=0r
- Group=BattInfo
- MeasureName=MeasureBatteryLevel
- MeterStyle=styleRightText
- Text=%1%
- Hidden=1
- #[MeterLabelBatteryStatus]
- #Meter=STRING
- #MeterStyle=styleLeftText
- #Group=BattInfo
- #X=10
- #Y=25r
- #Text="Batterie Status"
- #Hidden=1
- #[MeterValueBatteryStatus]
- #Meter=STRING
- #X=200
- #Y=0r
- #Group=BattInfo
- #MeasureName=MeasureBattStatusValue
- #MeterStyle=styleRightText
- #Text=%1
- #Hidden=1
- [meterLabelIP1]
- Meter=String
- Group=IPInfo
- MeterStyle=styleLeftText
- X=10
- Y=25r
- ;W=190
- ;H=20
- Text=IP
- Hidden=0
- [meterValueIP1]
- Meter=String
- Group=IPInfo
- MeterStyle=styleRightText
- MeasureName=measureIP1
- X=200
- Y=0r
- ;W=190
- ;H=20
- Hidden=0
- [meterValueIP1Off]
- Meter=String
- Group=IPInfo
- MeterStyle=styleRightText
- Text="Non connecté"
- X=200
- Y=0r
- ;W=190
- ;H=20
- Hidden=1
- [meterLabelIP2]
- Meter=String
- Group=IPInfo | IP2
- MeterStyle=styleLeftText
- X=10
- Y=25r
- ;W=190
- ;H=20
- Text=IP
- Hidden=0
- [meterValueIP2]
- Meter=String
- Group=IPInfo | IP2
- MeterStyle=styleRightText
- MeasureName=measureIP2
- X=200
- Y=0r
- ;W=190
- ;H=20
- Hidden=0
- [meterLabelWiFi]
- Meter=String
- Group=WiFi
- MeterStyle=styleLeftText
- X=10
- Y=25r
- ;W=190
- ;H=20
- Text="WiFi"
- Hidden=0
- [meterValueWiFi]
- Meter=String
- Group=WiFi
- MeterStyle=styleRightText
- MeasureName=MeasureSSID
- X=200
- Y=0r
- ;W=190
- ;H=20
- Hidden=0
- [meterValueWiFiSignalBar]
- Meter=Bar
- Group=WiFi
- MeterStyle=styleBar
- MeasureName=MeasureWifiSignal
- X=10
- Y=R
- W=190
- H=1
- Hidden=0
Advertisement
Add Comment
Please, Sign In to add comment