Skip to content

Commit

Permalink
Change path to relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasOe committed Jun 18, 2020
1 parent 2dcfdbf commit fdf4fbe
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
9 changes: 6 additions & 3 deletions @Resources/settings.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ hovercolor=255,255,255,255

backgroundcolor=10,10,10,120

desktoppath=C:\Users\lucas\Desktop
rainmeterpath=D:\Program Files\Rainmeter\Rainmeter.exe
desktoppath=%USERPROFILE%\Desktop

;Program paths
chromepath=["C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"]
cmdrpath=["D:\Program Files\Cmder\Cmder.exe"]

;Valid values are Blur, Acrylic, and None
blurtype=Blur
Expand Down Expand Up @@ -40,4 +43,4 @@ hidecmder=0
hidebin=0
hidetime=0
hideday=0
hidecpu=0
hidecpu=0
5 changes: 2 additions & 3 deletions Bar/bar.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Instructions=https://github.com/LucasOe/Rainmeter

[Variables]
@Include=#@#\settings.inc
@IncludeVariables=#@#\Scripts\vars.inc

;CPU Infos:
cpuname="Intel Core i7-4790K"
Expand Down Expand Up @@ -304,7 +303,7 @@ X=(#ChromePlace# - 25)
Y=(#dockheight# - #iconsize#) / 2
W=#iconsize#
ImageAlpha=200
LeftMouseUpAction=["C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"]
LeftMouseUpAction=#chromepath#
MouseOverAction=[!SetOption MeterChrome ImageAlpha 255][!Update][!Redraw]
MouseLeaveAction=[!SetOption MeterChrome ImageAlpha 200][!Update][!Redraw]

Expand All @@ -316,7 +315,7 @@ X=(#CmderPlace# - 25)
Y=(#dockheight# - #iconsize#) / 2
W=#iconsize#
ImageAlpha=200
LeftMouseUpAction=["D:\Program Files\Cmder\Cmder.exe"]
LeftMouseUpAction=#cmdrpath#
MouseOverAction=[!SetOption MeterCmder ImageAlpha 255][!Update][!Redraw]
MouseLeaveAction=[!SetOption MeterCmder ImageAlpha 200][!Update][!Redraw]

Expand Down
31 changes: 25 additions & 6 deletions Launcher/launcher.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ antialias=1

[Background]
Meter=Shape
Shape=Rectangle 0,0,257,520,10 | Fill Color #backgroundcolor# | Stroke Color 0,0,0,0
Shape2=Rectangle 0,0,257,20,0 | Fill Color #backgroundcolor# | Stroke Color 0,0,0,0
Shape=Rectangle 0,0,257,520,10 | Fill Color #backgroundcolor# | StrokeWidth 0
Shape2=Rectangle 0,0,257,20,0 | Fill Color #backgroundcolor# | StrokeWidth 0
Shape3=Combine Shape | Intersect Shape2
Shape4=Rectangle 0,0,257,520,10 | Fill Color #backgroundcolor# | Stroke Color 0,0,0,0
Shape4=Rectangle 0,0,257,520,10 | Fill Color #backgroundcolor# | StrokeWidth 0
UpdateDivider=-1

[Headertext]
Expand Down Expand Up @@ -121,7 +121,7 @@ imagetint=#fontcolor#
antialias=1
Mouseoveraction=[!setoption Refresh imagetint "#hovercolor#"] [!UpdateMeter *][!Redraw]
Mouseleaveaction=[!setoption Refresh imagetint "#fontcolor#"] [!UpdateMeter *][!Redraw]
LeftMouseUpAction=["#rainmeterpath#" !RefreshApp]
LeftMouseUpAction=[!RefreshApp]

[Up]
Meter=image
Expand Down Expand Up @@ -167,15 +167,24 @@ Border=None
Measure=Plugin
Plugin=FileView
Path="#desktoppath#"
Count=26
Count=25
HideExtensions=1
FinishAction=[!showmeter Background] [!Update][!Redraw]
SortType=#sorttype#
ShowDotDot=0

;-----------------------------------
; Measures Name
;-----------------------------------

[mIndex1Name]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FileName
Index=1
Group=Children
HideExtensions=1

[mIndex2Name]
Measure=Plugin
Plugin=FileView
Expand Down Expand Up @@ -373,6 +382,16 @@ Group=Children
; Measures Icon
;-----------------------------------

[mIndex1Icon]
Measure=Plugin
Plugin=FileView
Path=[mPath]
IconPath="#@#icons\icon1.ico"
Type=Icon
IconSize=small
Index=1
Group=Children

[mIndex2Icon]
Measure=Plugin
Plugin=FileView
Expand Down

0 comments on commit fdf4fbe

Please sign in to comment.