Skip to content

Instantly share code, notes, and snippets.

@farfromunique
Created April 14, 2019 13:16
Show Gist options
  • Save farfromunique/1bfa21b2253f466e9cb33e644a0e2c77 to your computer and use it in GitHub Desktop.
Save farfromunique/1bfa21b2253f466e9cb33e644a0e2c77 to your computer and use it in GitHub Desktop.
MatrixTransform issues
[TopIconImage]
Measure=String
String=Spotify.png
[TopIconPlayPause]
Measure=String
String=Pause.png
[TopIconPlayPauseLink]
Measure=String
String='[!CommandMeasure "MeasureMedia" "PlayPause"]'
[TopIconLink]
Measure=String
String="C:\Users\aaron\AppData\Roaming\Spotify\Spotify.exe"
[LeftIconImage]
Measure=String
String=Previous.png
[RightIconImage]
Measure=String
String=Next.png
[Rainmeter]
Update=1000
@include=Icons.inc
[MeasureMedia]
Measure=NowPlaying
PlayerName=Spotify
PlayerType=STATUS
IfAboveValue=0
IfAboveAction=[!SetOption TopIcon MeasureName "TopIconPlayPause"][!CommandMeasure "MeasureMediaKey" "PlayPause"][!UpdateMeter TopIcon][!Redraw]
IfEqualValue=0
ifEqualAction=[!SetOption TopIcon MeasureName "TopIconImage"][!UpdateMeter TopIcon][!Redraw]
[MeasureMediaKey]
Measure=MediaKey
; ------------------------- Top ------------------------- ;
[TopContainer]
meter=Shape
x = 0
y = 0
dynamicVariables=1
Shape=Rectangle 0,0,96,96 | Rotate 30 | offset 36,7 | Skew -30, 0 | Scale 1, 0.86062 | TransformOrder Scale,Skew,Rotate,Offset
[TopBackground]
meter=Shape
x=0
y=0
w=200
h=200
Container=TopContainer
SolidColor=64,64,64
[TopIcon]
Meter=image
dynamicVariables=1
Container=TopContainer
W=[TopContainer:W]
H=[TopContainer:H]
PreserveAspectRatio=0
ImagePath=#@#
MeasureName=TopIconImage
TransformationMatrix=0.65;0.0;0.0;0.45;32;32
AntiAlias=1
Greyscale=1
MouseOverAction=[!SetOption TopIcon Greyscale 0][!UpdateMeter TopIcon][!Redraw]
MouseLeaveAction=[!SetOption TopIcon Greyscale 1][!UpdateMeter TopIcon][!Redraw]
LeftMouseUpAction=["[TopIconLink]"]
; ------------------------- Left ------------------------ ;
[LeftContainer]
meter=Shape
x = 0
y = 0
dynamicVariables=1
Shape=Rectangle 0,0,96,96 | Rotate 30 | Offset -5, 80 | Scale 1, 0.86062 | Skew 30, 0 | TransformOrder Scale,Skew,Rotate,Offset
[LeftBackground]
meter=Shape
x=0
y=0
w=200
h=200
Container=LeftContainer
SolidColor=128,128,128
[LeftIcon]
Meter=image
dynamicVariables=1
Container=LeftContainer
W=[LeftContainer:W]
H=[LeftContainer:H]
PreserveAspectRatio=0
ImagePath=#@#
MeasureName=LeftIconImage
AntiAlias=1
Greyscale=1
TransformationMatrix=0.75;0.4;0.;0.4;10.75;69.8
MouseOverAction=[!SetOption LeftIcon Greyscale 0][!UpdateMeter LeftIcon][!Redraw]
MouseLeaveAction=[!SetOption LeftIcon Greyscale 1][!UpdateMeter LeftIcon][!Redraw]
LeftMouseUpAction=[!CommandMeasure "MeasureMedia" "Previous"]
; ------------------------ Right ------------------------ ;
[RightContainer]
meter=Shape
x = 0
y = 0
dynamicVariables=1
Shape=Rectangle 0,0,96,96 | Rotate -30 | Offset 79, 80 | Scale 1, 0.86062 | Skew -30, 0 | TransformOrder Scale,Skew,Rotate,Offset
[RightBackground]
meter=Shape
x=0
y=0
w=200
h=200
Container=RightContainer
SolidColor=192,192,192
[RightIcon]
Meter=image
dynamicVariables=1
Container=RightContainer
W=[RightContainer:W]
H=[RightContainer:H]
X=[RightContainer:X]
Y=[RightContainer:Y]
PreserveAspectRatio=0
ImagePath=#@#
MeasureName=RightIconImage
AntiAlias=1
Greyscale=1
TransformationMatrix=0.55;-0.2293;0.;0.45;81.6;102.4057
MouseOverAction=[!SetOption RightIcon Greyscale 0][!UpdateMeter RightIcon][!Redraw]
MouseLeaveAction=[!SetOption RightIcon Greyscale 1][!UpdateMeter RightIcon][!Redraw]
LeftMouseUpAction=[!CommandMeasure "MeasureMedia" "Next"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment