Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Rainmeter]
- Group=SysDash | Media
- Update=1
- AccurateText=1
- BackgroundMode=2
- SolidColor=0,0,0,1
- ; = IMPORTANT =
- ; = For configuring the rainmeter skin, right-click the visualizer and click on "Open settings".
- ; = You can also open the variables.ini file located in:
- ; = "My Documents\Rainmeter\Skins\SysDash\@Resources"
- ; Small context menu when you right-click the skin
- ContextTitle=" Open settings"
- ContextAction=[!ActivateConfig "#ROOTCONFIG#\Settings" "general.ini"]
- ContextTitle2=" Open variables file"
- ContextAction2=["#@#variables.ini"]
- [Metadata]
- Name=SysDash Dashboard
- Author=marcopixel
- License=MIT License
- Information=An minimalistic, still stylish dashboard-like skin with modular components.
- [Variables]
- ; Includes the variables used for the skin.
- @include=#@#variables.ini
- ; Include media player and styling measures.
- @include2=#@#include\Measure#MPMode#.inc
- ;------------------------------------Measures----------------------------------------------------------------------------------
- ; Measure to set the correct media player mode
- [MeasureSetMediaPlayer]
- Measure=String
- String=#PlayerName#
- IfMatch=Spotify
- IfMatchAction=[!WriteKeyValue Variables MPMode Spotify "#@#variables.ini"][!SetVariable MPMode Spotify][!Update]
- IfMatch2=GPMDP
- IfMatchAction2=[!WriteKeyValue Variables MPMode GPMDP "#@#variables.ini"][!SetVariable MPMode GPMDP][!Update]
- IfNotMatchAction=[!WriteKeyValue Variables MPMode NowPlaying "#@#variables.ini"][!SetVariable MPMode NowPlaying][!Update]
- UpdateDivider=1
- ;----------------------------------------------------------------------------------------------------------------------
- ; Measures for NowPlaying added 7/28/2018 Original Code Author: Milan http://madmilov2.deviantart.com/ adapted and edited by Reddit User Scullvine
- ;----------------------------------------------------------------------------------------------------------------------
- [MeasurePlayer]
- Measure=Plugin
- Plugin=NowPlaying.dll
- PlayerName=#player#
- Substitute="":""
- [MeasureArtist]
- Measure=Plugin
- Plugin=WebNowPlaying.dll
- Type=Artist
- UpdateDivider=100
- PlayerName=#Player#
- PlayerType=ARTIST
- Substitute="":""
- ;[MeasureAlbum]
- ; Measure=Plugin
- ; Plugin=WebNowPlaying.dll
- ; PlayerType=Album
- ; UpdateDivider = 5
- ;PlayerName=#player#
- [MeasureAlbum]
- Measure=Plugin
- Plugin=WebNowPlaying
- PlayerType=Album
- UpdateDivider = 5
- Substitute="":"N/A"
- [MeasureTitle]
- Measure=Plugin
- Plugin=WebNowPlaying.dll
- Type=Title
- UpdateDivider=100
- PlayerName=#player#
- PlayerType=TITLE
- PlayerPath=
- Substitue="":""
- [MeasureCover]
- Measure=Plugin
- Plugin=WebNowPlaying.dll
- Type=Cover
- Res=300
- PlayerName=[MeasurePlayer]
- PlayerType=Cover
- DefaultPath=#@#Images\nocover.png
- CoverPath=#@#Images\cover.png
- UpdateDivider = 5
- ;Song position in MM:SS
- [MeasurePosition]
- Measure=Plugin
- Plugin=WebNowPlaying
- PlayerType=Position
- UpdateDivider = 5
- Substitute="":"N/A"
- ;Song duration in MM:SS
- [MeasureDuration]
- Measure=Plugin
- Plugin=WebNowPlaying
- PlayerType=Duration
- UpdateDivider = 5
- Substitute="":"N/A"
- ;The play state of the player
- ;0 is no song is selected, this will almost never happen as the plugin retains the last known song in the future I may change it so it clears when the websocket closes but I dont think I want to do that in the event the websocket closes unexpectedly you may want it to keep old data
- ;1 is playing
- ;2 is paused
- [MeasureState]
- Measure=Plugin
- Plugin=WebNowPlaying
- PlayerType=State
- Substitute="0":"Play","1":"Pause","2":"Play","3":"Replay"
- ;This is what percent of the way through the song you are
- [MeasureProgress]
- Measure=Plugin
- Plugin=WebNowPlaying
- PlayerType=Progress
- Substitute="":"N/A"
- ;------------------------------------------------------------------------------------------------------------------------------
- ; Script Refresher - refreshes the code to apply the changes from the SetMediaPlayer measure
- [ScriptRefresher]
- Measure=Script
- ScriptFile=#@#scripts\Refresher.lua
- UpdateDivider=-1
- Refreshed=0
- ;------------------------------------Meters------------------------------------------------------------------------------------
- [MeterNoCover]
- Meter=Image
- ImageName=#@#images\nocover.png
- X=[MeterCover:X]
- Y=[MeterCover:Y]
- W=[MeterCover:W]
- H=[MeterCover:H]
- UpdateDivider=1
- MouseOverAction=[!ShowMeterGroup "MediaControls"]
- MouseLeaveAction=[!HideMeterGroup "MediaControls"]
- ImageTint=#MainColor#
- [MeterCover]
- Meter=Image
- MeasureName=MeasureCover
- X=(#Width#/8)
- Y=30
- W=75
- H=75
- UpdateDivider=100
- MouseOverAction=[!ShowMeterGroup "MediaControls"]
- MouseLeaveAction=[!HideMeterGroup "MediaControls"]
- [MeterTitle]
- Meter=String
- MeasureName=MeasureTitle
- X=15R
- Y=7r
- W=(#Width#-(2*(#Width#/8)))-90
- FontSize=12
- FontColor=#FontColor#,235
- InlineSetting=Face | Uni Neue
- InlineSetting2=Weight | 100
- AntiAlias=1
- ClipString=1
- Text="%1"
- [MeterArtist]
- Meter=String
- MeasureName=MeasureArtist
- X=0r
- Y=0R
- W=(#Width#-(2*(#Width#/8)))-90
- FontSize=12
- FontColor=#FontColor#,150
- InlineSetting=Face | Uni Neue
- InlineSetting2=Weight | 100
- InlineSetting3=Color | #FontColor#,235
- InlinePattern3=CPU
- AntiAlias=1
- ClipString=1
- Text="%1"
- ;[MeterAlbum]
- ;Meter=String
- ;MeasureName=MeasureAlbum
- ;X=0r
- ;Y=0R
- ;W=(#Width#-(2*(#Width#/8)))-90
- ;FontSize=12
- ;FontColor=#FontColor#,150
- ;InlineSetting=Face | Uni Neue
- ;InlineSetting2=Weight | 100
- ;InlineSetting3=Color | #FontColor#,235
- ;InlinePattern3=CPU
- ;AntiAlias=1
- ;ClipString=1
- ;Text="%1"
- [MeterMyPosition]
- Meter=String
- MeasureName=MeasurePosition
- MeasureName2=MeasureDuration
- X=0r
- Y=0R
- W=(#Width#-(2*(#Width#/8)))-90
- FontSize=12
- FontColor=#FontColor#,150
- InlineSetting=Face | Uni Neue
- InlineSetting2=Weight | 100
- InlineSetting3=Color | #FontColor#,235
- InlinePattern3=CPU
- AntiAlias=1
- ClipString=1
- Text=%1/%2
- [MeterControlsBG]
- Meter=Image
- Group=MediaControls
- X=[MeterCover:X]
- Y=[MeterCover:Y]
- W=75
- H=75
- SolidColor=0,0,0,175
- MouseOverAction=[!ShowMeterGroup "MediaControls"]
- MouseLeaveAction=[!HideMeterGroup "MediaControls"]
- Hidden=1
- [MeterControlsPlayPause]
- Meter=Image
- Group=MediaControls
- X=([MeterCover:X]+20)
- Y=([MeterCover:Y]+20)
- W=35
- H=35
- LeftMouseUpAction=[!CommandMeasure MeasureState "PlayPause"]
- ImageName=#@#images\[MeasureState].png
- DynamicVariables=1
- MouseOverAction=[!ShowMeterGroup "MediaControls"]
- Hidden=1
- ImageTint=#MainColor#
- [MeterRewind]
- Meter=Image
- ImageName=#@#images\rewind.png
- X=([MeterCover:X])
- Y=([MeterCover:X]+90)
- W=20
- H=20
- LeftMouseUpAction=[!CommandMeasure MeasureState "Previous"]
- AntiAlias=1
- ImageTint=#MainColor#
- [MeterNext]
- Meter=Image
- ImageName=#@#images\fast-forward.png
- X=([MeterCover:X]+50)
- Y=([MeterCover:X]+90)
- W=20
- H=20
- LeftMouseUpAction=[!CommandMeasure MeasureState "Next"]
- AntiAlias=1
- ImageTint=#MainColor#
- [MeterNewPlayPause]
- Meter=Image
- ;Group=MediaControls
- X=([MeterCover:X]+25)
- Y=([MeterCover:Y]+94)
- W=20
- H=20
- LeftMouseUpAction=[!CommandMeasure MeasureState "PlayPause"]
- ImageName=#@#images\[MeasureState].png
- DynamicVariables=1
- ;MouseOverAction=[!ShowMeterGroup "MediaControls"]
- Hidden=0
- ImageTint=#MainColor#
- [MeterProgressBar1]
- Meter=Shape
- X=(#Width#/8)+90
- Y=([MeterCover:X]+97)
- Shape=Rectangle 0,0,(#Width#-(#Width#/3.5)),4,(4/2) | Fill Color 255,225,255,25 | StrokeWidth 0
- Shape2=Rectangle 0,0,((#Width#-(#Width#/3.5))*([MeasureProgress]/100)),4,(4/2) | Fill Color #MainColor#,245 | StrokeWidth 0
- DynamicVariables=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement