Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
NSTechBytes authored Oct 29, 2024
1 parent 7bcbc6e commit a619a4b
Show file tree
Hide file tree
Showing 77 changed files with 2,770 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HotKey.nek
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Variables]
HotKey=Alt Ctrl Y
Binary file added Images/Circle_Mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/About.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/Animation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/Appearance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/Box.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/General.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/Position.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/Settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/Update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/location.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Config/on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Setup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Social/deviantart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Social/discord.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Social/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Social/youtube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Startup/check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Wait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Weather Icons/Clear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Weather Icons/Depositing rime fog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Weather Icons/Drizzle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Weather Icons/Fog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Weather Icons/Heavy rain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Weather Icons/Heavy snow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Weather Icons/Light rain.png
Binary file added Images/Weather Icons/Light snow.png
Binary file added Images/Weather Icons/Mainly clear.png
Binary file added Images/Weather Icons/Moderate rain.png
Binary file added Images/Weather Icons/Moderate snow.png
Binary file added Images/Weather Icons/Overcast.png
Binary file added Images/Weather Icons/Partly cloudy.png
Binary file added Images/Weather Icons/Rain.png
Binary file added Images/Weather Icons/Showers.png
Binary file added Images/Weather Icons/Thunderstorm.png
Binary file added Images/Weather Icons/Unknown condition.png
15 changes: 15 additions & 0 deletions Scripts/Lua/Block.lua
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
11 changes: 11 additions & 0 deletions Scripts/Lua/Config.lua
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
104 changes: 104 additions & 0 deletions Scripts/Lua/Function.lua
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

Loading

0 comments on commit a619a4b

Please sign in to comment.