replaced bginfo by desktopinfo
This commit is contained in:
parent
cabc5e34de
commit
fd68410751
Binary file not shown.
66
scripts/config/desktopinfo.ini
Normal file
66
scripts/config/desktopinfo.ini
Normal file
@ -0,0 +1,66 @@
|
||||
[options]
|
||||
top=50
|
||||
right=50
|
||||
cleartype=1
|
||||
transparency=30
|
||||
font-face=Lucida Console
|
||||
line-spacing=2
|
||||
|
||||
[items]
|
||||
set=key:White,value:#ffffff
|
||||
set=key:Grey,value:#a0a0a0
|
||||
set=key:Cyan,value:#00ffff
|
||||
set=key:Magenta,value:#ff00ff
|
||||
set=key:Green,value:#00ff00
|
||||
set=key:Orange,value:#ffb871
|
||||
set=key:Silver,value:#c0c0c0
|
||||
set=key:Blue,value:#0000f0
|
||||
set=key:Red,value:#ff0000
|
||||
|
||||
COLOR=%White%
|
||||
|
||||
COMMENT
|
||||
font-size=28
|
||||
HOST=color:%Orange%,text:,interval:0
|
||||
font-size=14
|
||||
|
||||
COMMENT
|
||||
UPTIME=text:,interval:30,display:Uptime: %2 hours %3 minutes
|
||||
|
||||
font-size=12
|
||||
WMI=text:,interval:0,namespace:root\cimv2,query:Win32_OperatingSystem,display:%caption% %OSArchitecture%
|
||||
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId,set:releaseid,hidden:1
|
||||
OSBUILD=text:,interval:0,display:Version %releaseid%
|
||||
|
||||
COMMENT
|
||||
font-size=18
|
||||
USER=text:,interval:0,display:User: %1
|
||||
|
||||
COMMENT
|
||||
font-size=12
|
||||
CPUTYPE=color:%Orange%,text:,interval:0
|
||||
WMI=text:,interval:5,namespace:root\cimv2,query:Win32_Processor,display:Speed: %CurrentClockSpeed%[4.2K]GHz
|
||||
PROCESSCOUNT=text:,interval:5,display:Processes: %1 Threads: %2
|
||||
CPU=text:,interval:5,chart:line2 height:2 scale:linear max:100 series1:1 color1:ffffff series2:2 color2:71b8ff, alarms:(%1 ge 80 %red%)(%2 ge 40 %red%),display:Load: %1[2.0f]% Kernel:%2[2.0f]% Queue: %3
|
||||
TOPPROCESSCPU=text:,interval:10,maxrows:1,display:Top process: %3[1.1f]% %1
|
||||
|
||||
COMMENT
|
||||
|
||||
TEXT=color:%Orange%,text:,display:MEMORY USED
|
||||
PHYSICALRAM=text:,interval:5,alarms:(%3 ge 80 0000FF),display:RAM: %1[3.1g]GiB %3% of %2[1.0b]B
|
||||
PAGEFILE=text:,interval:5,display:Page file: %1[3.1g]GiB %3% of %2[1.0b]B
|
||||
TOPPROCESSMEM=text:,interval:5,counter:pu,maxrows:1,display:Top process: %3[3.1g]GiB %1
|
||||
|
||||
COMMENT
|
||||
|
||||
TEXT=color:%Orange%,text:,display:STORAGE USED
|
||||
LOGICALDRIVES=text:,interval:15,diskio:1,chart:bar2 scale:linear max:100 series1:7 threshold:80 color1:b55393 color2:%orange% color3:%red%,alarms:(%11 ge 10000000 0000f0)(%13 ge 10000000 0000f0)(%7 ge 90 0070f0), display:%1: %6[5.1g] of %5[3.0b]B %chart%
|
||||
|
||||
COMMENT
|
||||
|
||||
TEXT=color:%Orange%,text:,display:NETWORK
|
||||
NETWORKINTERFACES=text:,interval:30,operstatus:1,iftype:6 71,display:%2: %8/%10
|
||||
WMI=text:,interval:60,alarms:(%11 ge 34 0088f0),namespace:root\cimv2,query:Win32_PingStatus where address='1.1.1.1',display:Latency: %ResponseTime%ms from 1.1.1.1
|
||||
|
||||
COMMENT
|
||||
|
@ -14,6 +14,7 @@ for %%A in (
|
||||
|
||||
cmail
|
||||
curl
|
||||
desktopinfo
|
||||
devmanview
|
||||
imapcopy
|
||||
nsudo
|
||||
@ -66,6 +67,14 @@ move /Y %T%\curl\curl-ca-bundle.crt %TOOLS%
|
||||
rd /S /Q %T%\curl
|
||||
echo.
|
||||
|
||||
echo Desktopinfo
|
||||
mkdir %TOOLS%\desktopinfo 2>nul
|
||||
move /Y %T%\desktopinfo\Desktopinfo64.exe %TOOLS%\desktopinfo
|
||||
move /Y %T%\desktopinfo\*.dll %TOOLS%\desktopinfo
|
||||
rd /S /Q %T%\desktopinfo
|
||||
copy /Y config\desktopinfo.ini %TOOLS%\desktopinfo
|
||||
echo.
|
||||
|
||||
echo DevManView
|
||||
move /Y %T%\devmanview\*.exe %TOOLS%
|
||||
rd /S /Q %T%\devmanview
|
||||
@ -208,11 +217,6 @@ if NOT EXIST %SOFTWARE%\sysinternals.zip (
|
||||
|
||||
echo put autoruns in place ...
|
||||
move /Y %TOOLS%\sysinternals\autoruns.exe %TOOLS%
|
||||
|
||||
echo put bginfo in place ...
|
||||
mkdir %TOOLS%\bginfo 2>nul
|
||||
copy /Y config\config.bgi %TOOLS%\bginfo
|
||||
move /Y %TOOLS%\sysinternals\Bginfo64.exe %TOOLS%\bginfo
|
||||
)
|
||||
echo.
|
||||
|
||||
|
@ -43,4 +43,5 @@ https://github.com/DavidXanatos/wumgr/releases/download/v1.1/WuMgr_v1.1b.zip wum
|
||||
https://psg-prod-eastus.azureedge.net/packages/pswindowsupdate.2.2.0.3.nupkg pswindowsupdate.nupkg
|
||||
https://www.thewindowsclub.com/downloads/UWT4.zip UWT.zip
|
||||
https://winaero.com/downloads/uwd.zip uwd.zip
|
||||
https://www.glenn.delahoy.com/downloads/desktopinfo/DesktopInfo3100.zip desktopinfo.zip
|
||||
|
||||
|
|
@ -63,8 +63,8 @@ echo.
|
||||
rem show language settings ...
|
||||
echo INFO: language is set to [ %LANG% ]
|
||||
|
||||
rem remove desktop wallpaper, set desktop colour and start bginfo
|
||||
call :BGINFO
|
||||
rem remove desktop wallpaper, set desktop colour and start desktopinfo
|
||||
call :DESKTOPINFO
|
||||
echo.
|
||||
|
||||
rem set RECYCLE BIN limits ...
|
||||
@ -172,7 +172,7 @@ rem ===========
|
||||
rem setting Aerolite theme...
|
||||
if %install_aerolite% == 1 (
|
||||
call %TOOLS%\scripts\modify-desktoptheme.cmd
|
||||
call :BGINFO
|
||||
call :DESKTOPINFO
|
||||
echo.
|
||||
)
|
||||
|
||||
@ -510,16 +510,18 @@ goto END
|
||||
|
||||
rem ####################################################
|
||||
|
||||
:BGINFO
|
||||
:DESKTOPINFO
|
||||
echo Removing the desktop wallpaper ...
|
||||
reg add "HKCU\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f 1>nul
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers" /v BackgroundType /t REG_DWORD /d 1 /f 1>nul
|
||||
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
|
||||
|
||||
echo Setting desktop COLOUR ...
|
||||
%TOOLS%\setbgcol %bgcol_R% %bgcol_G% %bgcol_B%
|
||||
|
||||
echo Starting BGInfo tool ...
|
||||
%TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0
|
||||
echo Starting the Desktopinfo tool ...
|
||||
taskkill /F /IM DesktopInfo64.exe 2>nul
|
||||
%TOOLS%\desktopinfo\DesktopInfo64.exe /ini=%TOOLS%\desktopinfo\desktopinfo.ini
|
||||
goto :eof
|
||||
|
||||
:RESTART_EXPLORER
|
||||
|
Loading…
Reference in New Issue
Block a user