-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bcbc6e
commit a619a4b
Showing
77 changed files
with
2,770 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Variables] | ||
HotKey=Alt Ctrl Y |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
function CheckFullScreen() | ||
local MyMeasure = SKIN:GetMeasure('MeasureIsFullScreen') | ||
local mString = MyMeasure:GetStringValue() | ||
local mNum = MyMeasure:GetValue() | ||
local mBool = 0 | ||
if mString:match('Rainmeter%.exe') then | ||
mBool = 1 | ||
end | ||
local check = (mNum .. mBool) | ||
if string.match(check, '10') then | ||
SKIN:Bang('!Hide') | ||
else | ||
SKIN:Bang('!Show') | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
function DropDown(variant, handler, offsetx,offsety) | ||
local saveLocation = SKIN:GetVariable('ROOTCONFIGPATH')..'DropDown\\Main.ini' | ||
local MyMeter = SKIN:GetMeter(handler) | ||
local scale = tonumber(SKIN:GetVariable('Scale')) | ||
local PosX = SKIN:GetX() + MyMeter:GetX() + offsetx * scale | ||
local PosY = SKIN:GetY() + MyMeter:GetY() + offsety * scale | ||
SKIN:Bang ('[!WriteKeyValue Variables variants ' .. variant .. ' "' .. saveLocation .. '"]') | ||
SKIN:Bang('!ZPos', '0') | ||
SKIN:Bang('!Activateconfig', 'YOurStart\\DropDown', 'Main.ini') | ||
SKIN:Bang('!Move', PosX, PosY, 'YOurStart\\DropDown') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
function Initialize() | ||
|
||
-- ------------------------------- positioning ------------------------------ -- | ||
|
||
pos = SKIN:GetVariable('Position') | ||
local function positionMenu() | ||
if pos == 'MousePosition' then | ||
MoveX = 0 | ||
MoveY = 0 | ||
AnchorX = '50%' | ||
AnchorY = '50%' | ||
elseif pos ~= 'Custom' then | ||
local posX = string.sub(pos, 2, 2) | ||
local posY = string.sub(pos, 1, 1) | ||
local xpad = SKIN:GetVariable('xpad') | ||
local ypad = SKIN:GetVariable('ypad') | ||
local MonitorIndex = SKIN:GetVariable('MonitorIndex') | ||
local taskbar = SKIN:GetVariable('PreserveTaskbarSpace') | ||
local sax = SKIN:GetVariable('SCREENAREAX@' .. MonitorIndex) | ||
local say = SKIN:GetVariable('SCREENAREAY@' .. MonitorIndex) | ||
local saw = SKIN:GetVariable('SCREENAREAWIDTH@' .. MonitorIndex) | ||
local sah = SKIN:GetVariable('SCREENAREAHEIGHT@' .. MonitorIndex) | ||
local waw = SKIN:GetVariable('WORKAREAWIDTH@' .. MonitorIndex) | ||
local wah = SKIN:GetVariable('WORKAREAHEIGHT@' .. MonitorIndex) | ||
local xdif = saw - waw | ||
local ydif = sah - wah | ||
MoveX = 0 | ||
MoveY = 0 | ||
AnchorX = 0 | ||
AnchorY = 0 | ||
|
||
if posX == 'L' then MoveX = (sax + xpad + taskbar * xdif) | ||
elseif posX == 'C' then | ||
MoveX = (sax + saw / 2) | ||
AnchorX = "50%" | ||
elseif posX == 'R' then | ||
MoveX = (sax + saw - xpad - taskbar * xdif) | ||
AnchorX = "100%" | ||
end | ||
|
||
if posY == 'T' then MoveY = (say + ypad + taskbar * ydif) | ||
elseif posY == 'C' then | ||
MoveY = (say + sah / 2) | ||
AnchorY = "50%" | ||
elseif posY == 'B' then | ||
MoveY = (say + sah - ypad - taskbar * ydif) | ||
AnchorY = "100%" | ||
end | ||
|
||
SKIN:Bang('!SetWindowPosition ' .. MoveX .. ' ' .. MoveY .. ' ' .. AnchorX .. ' ' .. AnchorY) | ||
end | ||
end | ||
positionMenu() | ||
|
||
|
||
|
||
|
||
-- ------------------------- handle animation toggle ------------------------ -- | ||
|
||
if tonumber(SKIN:GetVariable('Animated')) == 1 then | ||
AniSteps = tonumber(SKIN:GetVariable('AniSteps')) | ||
TweenInterval = 100 / AniSteps | ||
AnimationDisplacement = SKIN:GetVariable('AnimationDisplacement') | ||
AniDir = SKIN:GetVariable('AniDir') | ||
dofile(SELF:GetOption("ScriptFile"):match("(.*[/\\])") .. "tween.lua") | ||
subject = { | ||
TweenNode = 0 | ||
} | ||
t = tween.new(AniSteps, subject, { TweenNode = 100 }, SKIN:GetVariable('Easetype')) | ||
end | ||
end | ||
|
||
|
||
function tweenAnimation(dir) | ||
if dir == 'in' then | ||
t:update(1) | ||
else | ||
t:update(-1) | ||
end | ||
resultantTN = subject.TweenNode | ||
if resultantTN > 100 then resultantTN = 100 elseif resultantTN < 0 then resultantTN = 0 end | ||
local bang = '[!SetTransparency ' .. (resultantTN / 100 * 255) .. ']' | ||
if AniDir == 'Left' then | ||
bang = bang .. '[!SetWindowPosition ' .. MoveX + (resultantTN / 100 - 1) * AnimationDisplacement .. ' ' .. MoveY .. ' ' .. AnchorX .. ' ' .. AnchorY .. ']' | ||
elseif AniDir == 'Right' then | ||
bang = bang .. '[!SetWindowPosition ' .. MoveX + (1 - resultantTN / 100) * AnimationDisplacement .. ' ' .. MoveY .. ' ' .. AnchorX .. ' ' .. AnchorY .. ']' | ||
elseif AniDir == 'Top' then | ||
bang = bang .. '[!SetWindowPosition ' .. MoveX .. ' ' .. MoveY + (resultantTN / 100 - 1) * AnimationDisplacement .. ' ' .. AnchorX .. ' ' .. AnchorY .. ']' | ||
elseif AniDir == 'Bottom' then | ||
bang = bang .. '[!SetWindowPosition ' .. MoveX .. ' ' .. MoveY + (1 - resultantTN / 100) * AnimationDisplacement .. ' ' .. AnchorX .. ' ' .. AnchorY .. ']' | ||
end | ||
bang = bang .. '[!UpdateMeasure ActionTimer]' | ||
SKIN:Bang(bang) | ||
-- print(resultantTN) | ||
end | ||
|
||
|
||
function Popup(posX, posY) | ||
posX = posX + SKIN:GetX() | ||
posY = posY + SKIN:GetY() | ||
local saveLocation = SKIN:GetVariable('ROOTCONFIGPATH') .. 'Popup\\Main.ini' | ||
SKIN:Bang('[!WriteKeyValue Variables Skin.LastX ' .. posX .. ' "' .. saveLocation .. '"][!WriteKeyValue Variables Skin.LastY ' .. posY .. ' "' .. saveLocation .. '"][!ZPos 1][!DisableMeasure mToggleset][!Activateconfig "YourStart\\Popup"]') | ||
end | ||
|
Oops, something went wrong.