Skip to content

Instantly share code, notes, and snippets.

@emptyother
Created January 2, 2025 10:11
Show Gist options
  • Save emptyother/b223109ead87e5d3c2c815a00ab7b586 to your computer and use it in GitHub Desktop.
Save emptyother/b223109ead87e5d3c2c815a00ab7b586 to your computer and use it in GitHub Desktop.
Date, Time, and System desktop widget
[Metadata]
Name=Date, Time, and System
Author=emptyother
Information=https://github.com/emptyother/Rainmeter-Skin
Version=2.0.0
License=ISC
[Rainmeter]
Update=1000
DynamicWindowSize=1
SkinWidth=#Width#
;BackgroundMode=2
;SolidColor=255,255,255,255
;Blur=1 ;Doesnt work on Win11.
[Variables]
Width=1024
Height=1024
[MeasureTime]
Measure=Time
Format=%R
FormatLocale=nb-NO
[MeasureMonthEtc]
Measure=Time
FormatLocale=nb-NO
Format=%A %e. %B
[MeasureCPU]
Measure=Plugin
Plugin=UsageMonitor
Category="Processor Information"
Counter="% Processor Utility"
Name="_Total"
[MeasureCPUClamped]
Measure=Calc
Formula=(clamp(MeasureCPU,0,100))
[MeasurePhysMemTotal]
Measure=PhysicalMemory
Total=1
[MeasurePhysMemUsed]
Measure=PhysicalMemory
[MeasureRamUsedPercent]
Measure=Calc
Formula=(MeasurePhysMemUsed / MeasurePhysMemTotal) * 100
[Style]
FontFace=Roboto
FontColor=255,255,255
AntiAlias=1
StringEffect=Shadow
[MeterImage]
Meter=Image
ImageName=#@#corner-shade.png
W=#Width#
H=#Height#
PreserveAspectRatio=0
ImageAlpha=160
[MeterTopPlaceHolder]
Meter=String
W=#Width#
[MeterClock]
Meter=String
MeterStyle=Style
MeasureName=MeasureTime
X=0R
Y=0R
FontSize=70
StringAlign=Right
MouseOverAction=[!SetOption MeasureTime Format "%H:%M:%S"][!UpdateMeasure MeasureTime][!Redraw]
MouseLeaveAction=[!SetOption MeasureTime Format "%H:%M"][!UpdateMeasure MeasureTime][!Redraw]
[MeterDate]
Meter=String
MeterStyle=Style
MeasureName=MeasureMonthEtc
X=0r
Y=0R
StringAlign=Right
StringCase=Proper
FontSize=36
[MeterLine]
Meter=String
MeterStyle=Image
X=0r
Y=4R
W=550
H=1
StringAlign=Right
SolidColor=255,255,255
[MeterRam]
Meter=String
MeterStyle=Style
MeasureName=MeasureRamUsedPercent
StringAlign=Right
X=-0r
Y=4R
Prefix="MEM: "
Postfix="%"
NumOfDecimals=0
FontSize=24
UpdateDivider=2
[MeterCPU]
Meter=String
MeterStyle=Style
MeasureName=
X=-170r
Y=0r
StringAlign=Right
FontSize=24
UpdateDivider=2
Text="CPU: [MeasureCPUClamped:_Total]%"
DynamicVariables=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment