-
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
e78ccd7
commit e374f5d
Showing
1 changed file
with
20 additions
and
2 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ Name=System | |
Author=Alex Guerrieri <[email protected]> | ||
Information=Displays info about the system. | ||
License=Creative Commons | ||
Version=1.0.1 | ||
Version=1.0.2 | ||
|
||
@Include=../common.ini | ||
|
||
|
@@ -25,6 +25,23 @@ Plugin=SysInfo | |
SysInfoType=OS_VERSION | ||
UpdateDivider=-1 | ||
|
||
[_OSEdition] | ||
Measure=Plugin | ||
Plugin=RunCommand | ||
Parameter=wmic os get caption | ||
State=Hidden | ||
OutputType=ANSI | ||
RegExpSubstitute=1 | ||
Substitute="Caption\s+Microsoft\s+":"","\s+#CRLF#":"" | ||
OnChangeAction=[!SetOption MeterOS Text "%3 x%2"][!Redraw "MeterTest"] | ||
|
||
[_onLoad] | ||
Measure=Calc | ||
Formula=Counter | ||
IfAboveValue=0 | ||
IfAboveAction=[!CommandMeasure "_OSEdition" "Run"] | ||
UpdateDivider=-1 | ||
|
||
[_OSBits] | ||
Measure=Plugin | ||
Plugin=SysInfo | ||
|
@@ -157,6 +174,7 @@ MeterStyle=_system | _style | _hover | _darker | _spaced | |
StringStyle=Italic | ||
MeasureName=_OSVersion | ||
MeasureName2=_OSBits | ||
MeasureName3=_OSEdition | ||
Text="%1 x%2" | ||
LeftMouseUpAction="ms-settings:about" | ||
|
||
|
@@ -170,4 +188,4 @@ FontSize=(1.50*#FONTSIZE#) | |
Text="%1@%2" | ||
X=5r | ||
Y=(-2.75*#FONTSIZE#)r | ||
LeftMouseUpAction="ms-settings:yourinfo" | ||
LeftMouseUpAction="ms-settings:yourinfo" |