Skip to content

Commit 7bcbc6e

Browse files
authored
Add files via upload
1 parent 0bb95ab commit 7bcbc6e

27 files changed

+955
-0
lines changed

@Resources/AllApps/All Apps.nek

Whitespace-only changes.

@Resources/AllApps/apps.json

Whitespace-only changes.

@Resources/Config/AllShortcuts.nek

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
[Variables]
2+
HoverW:B=50
3+
HoverH:B=50
4+
HoverIndex:B=Shortcut.XYZ
5+
ImageWidth=40
6+
ImageHeight=40
7+
Scroll=1
8+
ScrollClickedPos=0
9+
All_Apps.W=280
10+
All_Apps.H=520
11+
;============================================================================================================================;
12+
; Function ;
13+
;============================================================================================================================;
14+
15+
[AnchorChecker]
16+
Measure=Calc
17+
Formula=(Clamp([All_Apps_Container:H]-[Anchor:Y], -5000, 0))
18+
IfCondition=AnchorChecker=0
19+
IfTrueAction=[!DisableMouseAction All_Apps_Container "MouseScrollUpAction|MouseScrollDownAction"][!UpdateMeterGroup Background][!Redraw]
20+
IfFalseAction=[!ShowMeter ScrollBar][!UpdateMeterGroup Background][!Redraw]
21+
IfConditionMode=1
22+
Group=AnchorChecker
23+
DynamicVariables=1
24+
25+
[MouseScrollBar]
26+
Measure=Plugin
27+
Plugin=Mouse
28+
MouseMoveAction=[!SetVariable Scroll "(Clamp(($MouseY$-#ScrollClickedPos#-40*#Scale#)/(#Skin.H#/2-40*#Scale#)*[AnchorChecker],[AnchorChecker],0))"][!UpdateMeter *][!Redraw]
29+
LeftMouseUpAction=[!SetOption ScrollBar MeterStyle ScrollBar:Idle][!SetOption ScrollBar Fill "Stroke Color #FontColor#,100"][!CommandMeasure MouseScrollBar "Stop"][!DisableMeasure MouseScrollBar][!UpdateMeter ScrollBar][!Redraw]
30+
RequireDragging=1
31+
RelativeToSkin=1
32+
DynamicVariables=1
33+
Disabled=1
34+
35+
;============================================================================================================================;
36+
; MeterStyles ;
37+
;============================================================================================================================;
38+
39+
[All_Apps_BackGround]
40+
X=(10*#Scale#)
41+
Y=(20*#Scale#)r
42+
Shape=Rectangle 0,0,(#All_Apps.W#*#Scale#-40*#Scale#),(40*#Scale#),8 | StrokeWidth 0 | Extend This
43+
This=FillColor #BackGround_Color#,0
44+
DynamicVariables=1
45+
MouseOverAction=[!SetOption #CURRENTSECTION# This "FillColor #BackGround_Color#,30"][!UpdateMeter *][!Redraw]
46+
MouseLeaveAction=[!SetOption #CURRENTSECTION# This "FillColor #BackGround_Color#,0"][!UpdateMeter *][!Redraw]
47+
Container=All_Apps_Container
48+
49+
[All_Apps_Icons]
50+
W=(32*#Scale#)
51+
H=(32*#Scale#)
52+
X=(5*#Scale#)r
53+
Y=(4*#Scale#)r
54+
DynamicVariables=1
55+
Container=All_Apps_Container
56+
57+
[All_Apps_Text]
58+
X=(45*#Scale#)r
59+
Y=(17*#Scale#)r
60+
W=(190*#Scale#)
61+
FontFace=#FontFace#
62+
FontColor=#FontColor#
63+
FontWeight=400
64+
FontSize=(10*#Scale#)
65+
StringAlign=LeftCenter
66+
ClipString=1
67+
AntiAlias=1
68+
Container=All_Apps_Container
69+
70+
;============================================================================================================================;
71+
; Content ;
72+
;============================================================================================================================;
73+
74+
[All_Apps_Container]
75+
Meter=Shape
76+
X=(70*#Scale#)
77+
Y=(100*#Scale#)
78+
Shape=Rectangle 0,0,(#All_Apps.W#*#Scale#),(#All_Apps.H#*#Scale#),8 | StrokeWidth 0
79+
DynamicVariables=1
80+
Group=Background | Scrollbar
81+
MouseCursorAction=0
82+
MouseScrollDownAction=[!SetVariable Scroll "(Clamp(#Scroll#-50,[AnchorChecker],0))"][!UpdateMeter *][!Redraw]
83+
MouseScrollUpAction=[!SetVariable Scroll "(Clamp(#Scroll#+50,[AnchorChecker],0))"][!UpdateMeter *][!Redraw]
84+
85+
86+
[ScrollBar:Scrolling]
87+
Fill=Stroke Color #FontColor#
88+
[ScrollBar:Idle]
89+
LeftMouseDownAction=[!SetVariable ScrollClickedPos "$MouseY$"][!SetOption ScrollBar MeterStyle ScrollBar:Scrolling][!EnableMeasure MouseScrollBar][!UpdateMeasure MouseScrollBar][!CommandMeasure MouseScrollBar "Start"]
90+
MouseOverAction=[!SetOption #CURRENTSECTION# Fill "Stroke Color #FontColor#,100"][!UpdateMeter #CURRENTSECTION#][!Redraw]
91+
MouseLeaveAction=[!SetOption #CURRENTSECTION# Fill "Stroke Color #FontColor#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
92+
[ScrollBar]
93+
Meter=Shape
94+
X=([All_Apps_Container:XW]-5*#Scale#)
95+
Y=(80*#Scale#+(#Scroll#/([AnchorChecker]+1)*([All_Apps_Container:H]-([All_Apps_Container:H]/([All_Apps_Container:H]-[AnchorChecker])*[All_Apps_Container:H]))))
96+
Shape=Line 0,0,0,([All_Apps_Container:H]/([All_Apps_Container:H]-[AnchorChecker])*[All_Apps_Container:H]) | StrokeWidth (4*#Scale#) | StrokeStartCap Round | StrokeEndCap Round | Extend Fill
97+
Fill=Stroke Color #FontColor#
98+
DynamicVariables=1
99+
Group=Background | Scrollbar
100+
Hidden=1
101+
MeterStyle=ScrolLBar:Idle
102+
103+
104+
@includeall_apps=#@#AllApps\All Apps.nek
105+
106+
[Anchor]
107+
Meter=String
108+
Container=All_Apps_Container
109+
x=r
110+
Y=R

@Resources/Config/Header.nek

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
;============================================================================================================================;
2+
; Function ;
3+
;============================================================================================================================;
4+
5+
[USER_SID]
6+
Measure=SysInfo
7+
SysInfoType=USER_SID
8+
IfMatch=^(S\-1\-5\-21\-[\S]+)$
9+
IfMatchAction=[!EnableMeasure Profile_Picture_Location]
10+
RegExpSubstitute=1
11+
Substitute="^0$":""
12+
DynamicVariables=1
13+
[Profile_Picture_Location]
14+
Measure=Registry
15+
RegHKey=HKEY_LOCAL_MACHINE
16+
RegKey=SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users\[USER_SID]
17+
RegValue=Image1080
18+
DynamicVariables=1
19+
Disabled=1
20+
IfMatch=(S\-1\-5\-21\-[\S]+)
21+
IfMatchAction=[!SetOption Profile_Picture MeasureName "#CURRENTSECTION#"]
22+
IfNotMatchAction=[!SetOption Profile_Picture MeasureName ""]
23+
DynamicVariables=1
24+
25+
;============================================================================================================================;
26+
; MeterStyles ;
27+
;============================================================================================================================;
28+
[Header_Text]
29+
FontColor=#FontColor#
30+
FontFace=#FontFace#
31+
FontWeight=500
32+
AntiAlias=1
33+
FontSize=(18*#Scale#)
34+
X=(80*#Scale#)
35+
Y=(70*#Scale#)
36+
DynamicVariables=1
37+
38+
;============================================================================================================================;
39+
; Content ;
40+
;============================================================================================================================;
41+
42+
[All_Apps_String]
43+
Meter=String
44+
Text=All Apps
45+
MeterStyle=Header_Text
46+
[Shortcuts_Apps_String]
47+
Meter=String
48+
Text=Pinned Apps
49+
X=(365*#Scale#)
50+
MeterStyle=Header_Text
51+
52+
[Profile_Picture]
53+
Meter=Image
54+
ImageName=
55+
MaskImageName=#@#Images\Circle_Mask.png
56+
W=(40*#Scale#)
57+
H=(40*#Scale#)
58+
X=(15*#Scale#)
59+
Y=(14*#Scale#)
60+
DynamicVariables=1
61+
[User_Text]
62+
Meter=String
63+
Text=%USERNAME%
64+
X=(10*#Scale#)R
65+
Y=(25*#Scale#)r
66+
FontSize=(15*#Scale#)
67+
FontColor=#FontColor#
68+
FontWeight=900
69+
DynamicVariables=1
70+
FontFace=#FontFace#
71+
StringAlign=LeftCenter
72+
AntiAlias=1
73+
74+
[Weather_Image]
75+
Meter=Image
76+
ImageName=#@#Images\Weather Icons\Unknown condition.png
77+
W=(50*#Scale#)
78+
H=(50*#Scale#)
79+
X=(700*#Scale#)
80+
Y=(10*#Scale#)
81+
[Temp_String]
82+
Meter=String
83+
Text=
84+
X=(-10*#Scale#)r
85+
Y=(25*#Scale#)r
86+
FontSize=(18*#Scale#)
87+
Antialias=1
88+
FontColor=#FontColor#
89+
DynamicVariables=1
90+
FontFace=SF Pro Rounded
91+
FontWeight=900
92+
StringAlign=RightCenter

@Resources/Config/Network.nek

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
[Variables]
2+
@includeBT=#@#bluetooth\bluetoothVariables.inc
3+
BTStatus=0
4+
BT_OnBluetoothCheck_On=[!Setvariable BTStatus 1][!ShowMeter BT_Toggle_Icon_on][!HideMeter BT_Toggle_Icon_off][!UpdateMeter BTStatus][!UpdateMeter *][!Redraw]
5+
BT_OnBluetoothCheck_Off=[!Setvariable BTStatus 0][!ShowMeter BT_Toggle_Icon_off][!HideMeter BT_Toggle_Icon_on][!UpdateMeter BTStatus][!UpdateMeter *][!Redraw]
6+
BT_AfterBluetoothToggle=#BT_CheckBluetooth#[!Redraw]
7+
@includeBTM=#@#bluetooth\bluetooth.inc
8+
9+
;============================================================================================================================;
10+
; Function ;
11+
;============================================================================================================================;
12+
13+
[InternetStatus]
14+
Measure=PLUGIN
15+
Plugin=SysInfo
16+
SysInfoType=INTERNET_CONNECTIVITY
17+
RegExpSubstitute=1
18+
Substitute="^1$":"Connected","^-1$":"Not connected"
19+
IfCondition=InternetStatus = -1
20+
IfTrueAction=[!ShowMeter Toggle_Icon_off][!UpdateMeter *][!Redraw]
21+
IfFalseAction=[!ShowMeter Toggle_Icon_on][!UpdateMeter *][!Redraw]
22+
OnChangeAction=[!UpdateMeter Toggle_Icon][!Redraw]
23+
UpdateDivider=1
24+
25+
[InternetOff]
26+
Measure=Plugin
27+
Plugin=RunCommand
28+
Parameter=ipconfig /release
29+
State=Hide
30+
[InternetOn]
31+
Measure=Plugin
32+
Plugin=RunCommand
33+
Parameter=ipconfig /renew
34+
State=Hide
35+
36+
37+
38+
;============================================================================================================================;
39+
; MeterStyles ;
40+
;============================================================================================================================;
41+
42+
43+
44+
[Network_String]
45+
Meter=String
46+
Text=Network and Connection
47+
MeterStyle=Icon_SideBox
48+
X=(480*#Scale#)
49+
Y=(550*#Scale#)
50+
FontFace=#FontFace#
51+
FontColor=#FontColor#
52+
FontWeight=900
53+
FontSize=(12*#Scale#)
54+
AntiAlias=1
55+
56+
57+
[Wifi_Icon]
58+
Meter=String
59+
Text=[\xf1eb]
60+
MeterStyle=Icon_SideBox
61+
X=(410*#Scale#)
62+
Y=(40*#Scale#)r
63+
FontFace=Font Awesome 6 Pro
64+
FontColor=#FontColor#
65+
FontWeight=900
66+
FontSize=(18*#Scale#)
67+
AntiAlias=1
68+
69+
[Wifi_Text]
70+
Meter=String
71+
Text=Internet
72+
X=(35*#Scale#)r
73+
Y=(-8*#Scale#)r
74+
FontSize=(12*#Scale#)
75+
FontColor=#FontColor#
76+
FontWeight=500
77+
DynamicVariables=1
78+
FontFace=#FontFace#
79+
AntiAlias=1
80+
81+
[Toggle_Icon_on]
82+
Meter=String
83+
Text=[\xf205]
84+
X=(240*#Scale#)r
85+
Y=(-2*#Scale#)r
86+
FontFace=Font Awesome 6 Pro
87+
FontColor=#AccentColor#
88+
FontWeight=900
89+
FontSize=(22*#Scale#)
90+
AntiAlias=1
91+
LeftMouseUpAction=[!HideMeter #CurrentSection#][!CommandMeasure Internetoff "Run"][!ShowMeter Toggle_Icon_off][!UpdateMeter *][!Redraw]
92+
Hidden=1
93+
94+
[Toggle_Icon_off]
95+
Meter=String
96+
Text=[\xf204]
97+
X=r
98+
Y=r
99+
FontFace=Font Awesome 6 Pro
100+
FontColor=#FontColor#
101+
FontWeight=900
102+
FontSize=(22*#Scale#)
103+
AntiAlias=1
104+
LeftMouseUpAction=[!HideMeter #CurrentSection#][!CommandMeasure Interneton "Run"][!ShowMeter Toggle_Icon_on][!UpdateMeter *][!Redraw]
105+
Hidden=1
106+
107+
108+
[Bluetooth_Icon]
109+
Meter=String
110+
Text=[\xf293]
111+
MeterStyle=Icon_SideBox
112+
X=(410*#Scale#)
113+
Y=(70*#Scale#)r
114+
FontFace=Font Awesome 6 Pro
115+
FontColor=#FontColor#
116+
FontWeight=900
117+
FontSize=(18*#Scale#)
118+
AntiAlias=1
119+
120+
[Bluetooth_Text]
121+
Meter=String
122+
Text=Bluetooth
123+
X=(35*#Scale#)r
124+
Y=(-8*#Scale#)r
125+
FontSize=(12*#Scale#)
126+
FontColor=#FontColor#
127+
FontWeight=500
128+
DynamicVariables=1
129+
FontFace=#FontFace#
130+
AntiAlias=1
131+
132+
133+
[BT_Toggle_Icon_on]
134+
Meter=String
135+
Text=[\xf205]
136+
X=(240*#Scale#)r
137+
Y=(-2*#Scale#)r
138+
FontFace=Font Awesome 6 Pro
139+
FontColor=#AccentColor#
140+
FontWeight=900
141+
FontSize=(22*#Scale#)
142+
AntiAlias=1
143+
LeftMouseUpAction=#BT_ToggleBluetooth#
144+
145+
146+
[BT_Toggle_Icon_off]
147+
Meter=String
148+
Text=[\xf204]
149+
X=r
150+
Y=r
151+
FontFace=Font Awesome 6 Pro
152+
FontColor=#FontColor#
153+
FontWeight=900
154+
FontSize=(22*#Scale#)
155+
AntiAlias=1
156+
LeftMouseUpAction=#BT_ToggleBluetooth#
157+
Hidden=(1-#BTStatus#)
158+
159+
160+
161+
162+
163+
164+
165+
166+
167+
168+
169+
170+
171+
172+
173+
174+
175+
176+
177+
178+
179+
180+
181+
182+
183+
184+

0 commit comments

Comments
 (0)