Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
redsaph committed Jun 25, 2020
2 parents 3879c0e + ef9153c commit 029e023
Show file tree
Hide file tree
Showing 36 changed files with 2,005 additions and 276 deletions.
Binary file added @Resources/Addons/RainRGB4.exe
Binary file not shown.
52 changes: 52 additions & 0 deletions @Resources/Addons/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
;==========================================================================================================================
; RainRGB4.exe is Copyright 2010, 2011 by Jeffrey Morley
; Released under Creative Commons Attribution-Non-Commercial-Share Alike 3.0
; Version 4 - Sep 12, 2011
;
; RainRGB when called with the appropriate command line parameters will open a standard Windows color picker dialog.
; It will then change the desired color variable in the [Variables] section of any .inc / ini file and refresh either
; a single config or all when completed. This can be used in combination with @Include files to have a way to set
; the colors for an entire suite of skins, or with an individual .ini file to set the colors for a single skin.
;
; RainRGB4.exe may reside in any folder.
;
; Usage:
; RainRGB4.exe VarName=xxx FileName=xxx Alpha=xxx RefreshConfig=xxx
;
; Example as called from Rainmeter:
; SomeAction=!Execute ["#ADDONSPATH#RainRGB\RainRGB.exe" "VarName=MyTextColor" "FileName=#CURRENTPATH#UserVariables.inc" "Alpha=200" "RefreshConfig=RainRGB"]
; You MUST put quotes around the call to the executable and each parameter.
;
; VarName REQUIRED
; Name of the variable you wish to set in the .inc / ini file. It must not contain spaces or use the # character.
; The variable must be defined in the .inc / .ini file under [Variables]
;
; FileName REQUIRED
; Full path and name of the .inc or .ini file you wish to change. RainRGB will read the file, and look for
; an entry for VarName in the [Variables] section.
;
; Alpha OPTIONAL
; Must be a decimal number from 0-255. Do not use hex numbers for this. If the entry in the .inc / ini file is in hex,
; RainRGB will detect this and convert as needed. This entire parameter may be left off if desired. If the entry in
; the .inc / ini has an alpha value on the setting, it will be preserved if you do not specify Alpha on this command line.
;
; RefreshConfig OPTIONAL
; This is the name(s) of the Rainmeter config (ex: Enigma\Sidebar) you wish to refresh after the variable has been set.
; If this entire parameter is left off, all currently loaded configs will be refreshed. You may specify multiple configs
; to refesh by using " | " as a separator. Example: "RefreshConfig=JSMorley\JSClock | JSMorley\JSWeather". The spaces
; before and after the "pipe" character are required.
;
; Notes:
;
; The variable must already exist in the .inc / ini file under [Variables] and be set to some value. This addon is to change
; variables, not create them.

; If the setting in the .inc / .ini file is in hex currently (ex: MyColor=FFFFFF or MyColor=FFFFFFFF) RainRGB will preserve this
; format. If the current setting in the .inc / ini is in RGB (ex: MyColor=255,255,255 or MyColor=255,255,255,255) RainRGB will
; preserve that format.
;
; To leave a parameter off, remove the entire "ParmName=ParmValue" entry. Do not set the parameter to "" (NULL) to achieve this.
; For example to call the addon without changing the alpha value, and refreshing all skins instead of a specific one:
; SomeAction=!Execute ["#ADDONSPATH#RainRGB\RainRGB.exe" "VarName=MyTextColor" "FileName=#CURRENTPATH#UserVariables.inc"]
; Remember that VarName and FileName are REQUIRED. RainRGB will just silently exit without making any changes if they are missing.
;==========================================================================================================================
Binary file removed @Resources/Fonts/Metropolis-ExtraLight.otf
Binary file not shown.
Binary file removed @Resources/Fonts/Metropolis-Medium.otf
Binary file not shown.
Binary file removed @Resources/Fonts/Metropolis-Regular.otf
Binary file not shown.
Binary file added @Resources/Fonts/RedHatDisplay-Bold.ttf
Binary file not shown.
Binary file added @Resources/Fonts/RedHatDisplay-Regular.ttf
Binary file not shown.
Binary file added @Resources/Fonts/RedHatText-Medium.ttf
Binary file not shown.
Binary file added @Resources/Fonts/RedHatText-Regular.ttf
Binary file not shown.
53 changes: 53 additions & 0 deletions @Resources/Submodules/Settings/settings_c_alignment.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
; DO NOT DELETE
[Rainmeter]
Update=1000
Author=Redsaph

[scAlignmentTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r1#
Text=Alignment
Group=g_categorytitle | g_alignment
Hidden=1

[scAlignmentDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Align Cleartext to the left, center, or right to match its position on your screen.
Group=g_categorydesc | g_alignment
Hidden=1

[scAlignmentBtnLeft]
Meter=String
MeterStyle=sStyleBtnOption
X=#grid_c5#
Y=#grid_r1#
Text=Left
Group=g_categorydesc | g_alignment
LeftMouseUpAction=[!CommandMeasure "LuaAlign" "alignLeft(#skinSize#)"][!Refresh "Cleartext" "Cleartext.ini"][!WriteKeyValue Variables name_lastgroup_sint "g_alignment" "#@#var_int.inc"]
Hidden=1

[scAlignmentBtnCenter]
Meter=String
MeterStyle=sStyleBtnOption
X=2R
Y=#grid_r1#
Text=Center
Group=g_categorydesc | g_alignment
LeftMouseUpAction=[!CommandMeasure "LuaAlign" "alignCenter(#skinSize#)"][!Refresh "Cleartext" "Cleartext.ini"][!WriteKeyValue Variables name_lastgroup_sint "g_alignment" "#@#var_int.inc"]
Hidden=1

[scAlignmentBtnRight]
Meter=String
MeterStyle=sStyleBtnOption
X=2R
Y=#grid_r1#
Text=Right
Group=g_categorydesc | g_alignment
LeftMouseUpAction=[!CommandMeasure "LuaAlign" "alignRight(#skinSize#)"][!Refresh "Cleartext" "Cleartext.ini"][!WriteKeyValue Variables name_lastgroup_sint "g_alignment" "#@#var_int.inc"]
Hidden=1

126 changes: 126 additions & 0 deletions @Resources/Submodules/Settings/settings_c_colors.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
; DO NOT DELETE
[Rainmeter]
Update=1000
Author=Redsaph

[scColorsTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r1#
Text=Translucent colors
Group=g_categorytitle | g_colors
Hidden=1

[scColorsTranslucentDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Colors for the buttons in regular Cleartext.
Group=g_categorydesc | g_colors
Hidden=1

[scColorsTranslucentBtn]
Meter=String
MeterStyle=sStyleBtnExternal
X=#grid_c5#
Y=#grid_r1#
Text=#color_translucent#
Group=g_categorydesc | g_colors
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_colors" "#@#var_int.inc"]["#@#Addons\RainRGB4.exe" "VarName=color_translucent" "FileName=#@#color.inc" "128" "RefreshConfig=#CURRENTCONFIG#"]
Hidden=1

[scColorsOpaqueTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r2#
Text=Opaque colors
Group=g_categorytitle | g_colors
Hidden=1

[scColorsOpaqueDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Colors for the information in Cleartext.
Group=g_categorydesc | g_colors
Hidden=1

[scColorsOpaqueBtn]
Meter=String
MeterStyle=sStyleBtnExternal
X=#grid_c5#
Y=#grid_r2#
Text=#color_opaque#
Group=g_categorydesc | g_colors
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_colors" "#@#var_int.inc"]["#@#Addons\RainRGB4.exe" "VarName=color_opaque" "FileName=#@#color.inc" "255" "RefreshConfig=#CURRENTCONFIG#"]
Hidden=1

[scColorsOverTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r3#
Text=Progress color
Group=g_categorytitle | g_colors
Hidden=1

[scColorsOverDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Color for the progress in the progress bar.
Group=g_categorydesc | g_colors
Hidden=1

[scColorsOverBtn]
Meter=String
MeterStyle=sStyleBtnExternal
X=#grid_c5#
Y=#grid_r3#
Text=#color_over#
Group=g_categorydesc | g_colors
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_colors" "#@#var_int.inc"]["#@#Addons\RainRGB4.exe" "VarName=color_over" "FileName=#@#color.inc" "255" "RefreshConfig=#CURRENTCONFIG#"]
Hidden=1

[scColorsExpressTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r4#
Text=Quick colors
Group=g_categorytitle | g_colors
Hidden=1

[scColorsExpressDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Quickly set which color contrasts with your wallpaper best.
Group=g_categorydesc | g_colors
Hidden=1

[scColorsExpressBtnBlack]
Meter=String
MeterStyle=sStyleBtnOption
X=#grid_c5#
Y=#grid_r4#
Text=Black
Group=g_categorydesc | g_colors
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_colors" "#@#var_int.inc"][!WriteKeyValue Variables color_translucent 0,0,0,128 "#@#color.inc"][!WriteKeyValue Variables color_opaque 0,0,0,255 "#@#color.inc"][!WriteKeyValue Variables color_over 177,177,177,128 "#@#color.inc"][!Refresh #CURRENTCONFIG#]
Hidden=1

[scColorsExpressBtnWhite]
Meter=String
MeterStyle=sStyleBtnOption
X=2R
Y=#grid_r4#
Text=White
Group=g_categorydesc | g_colors
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_colors" "#@#var_int.inc"][!WriteKeyValue Variables color_translucent 255,255,255,128 "#@#color.inc"][!WriteKeyValue Variables color_opaque 255,255,255,255 "#@#color.inc"][!WriteKeyValue Variables color_over 177,177,177,255 "#@#color.inc"][!Refresh #CURRENTCONFIG#]
Hidden=1
91 changes: 91 additions & 0 deletions @Resources/Submodules/Settings/settings_c_features.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
; DO NOT DELETE
[Rainmeter]
Update=1000
Author=Redsaph

[scFeaturesHideTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r1#
Text=Adaptive Hide
Group=g_categorytitle | g_features
Hidden=1

[scFeaturesHideDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Adaptive Hide allows Cleartext to hide when music is stopped.
Group=g_categorydesc | g_features
Hidden=1

[scFeaturesHideBtn]
Meter=String
MeterStyle=sStyleBtnToggled
X=#grid_c5#
Y=#grid_r1#
Text=#bool_btn_adaptivehide_sint#
SolidColor=#color_btn_adaptivehide_sint#
Group=g_categorydesc | g_features
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_features" "#@#var_int.inc"][!CommandMeasure "LuaSettings" "toggleAdaptiveHide()"][!Refresh #CURRENTCONFIG#]
Hidden=1

[scFeaturesScrollTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r2#
Text=Scrolling
Group=g_categorytitle | g_features
Hidden=1

[scFeaturesScrollDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Toggle the scrolling text. When disabled, long titles are truncated.
Group=g_categorydesc | g_features
Hidden=1

[scFeaturesScrollBtn]
Meter=String
MeterStyle=sStyleBtnToggled
X=#grid_c5#
Y=#grid_r2#
Text=#bool_btn_scrolling_sint#
SolidColor=#color_btn_scrolling_sint#
Group=g_categorydesc | g_features
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_features" "#@#var_int.inc"][!CommandMeasure "LuaSettings" "toggleScroll()"][!Refresh #CURRENTCONFIG#]
Hidden=1

[scFeaturesStowTitle]
Meter=String
MeterStyle=sStyleCategoryTitle
X=#grid_c1#
Y=#grid_r3#
Text=Stow controls
Group=g_categorytitle | g_features
Hidden=1

[scFeaturesStowDesc]
Meter=String
MeterStyle=sStyleCategoryDesc
X=r
Y=R
Text=Hide "Now Playing" and the progress bar on normal state to show only track information.
Group=g_categorydesc | g_features
Hidden=1

[scFeaturesStowBtn]
Meter=String
MeterStyle=sStyleBtnToggled
X=#grid_c5#
Y=#grid_r3#
Text=#bool_btn_stow_sint#
SolidColor=#color_btn_stow_sint#
Group=g_categorydesc | g_features
LeftMouseUpAction=[!WriteKeyValue Variables name_lastgroup_sint "g_features" "#@#var_int.inc"][!CommandMeasure "LuaSettings" "toggleStow()"][!Refresh #CURRENTCONFIG#]
Hidden=1
Loading

0 comments on commit 029e023

Please sign in to comment.