From c09992885530d1702519b774c51309bad7f8336b Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Mon, 14 Aug 2023 22:37:40 +0200 Subject: [PATCH] desktopinfo config bug fixed --- scripts/config/desktopinfo.ini | 39 ++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/scripts/config/desktopinfo.ini b/scripts/config/desktopinfo.ini index 6a60265..9c789b3 100644 --- a/scripts/config/desktopinfo.ini +++ b/scripts/config/desktopinfo.ini @@ -5,10 +5,15 @@ top=20 right=50 auto-scale=1 -# font +### +# set FONT ... +### font-face=Fixedsys font-size=6 +### +# set COULORS ... +### [items] set White = #ffffff set Orange = #ffd000 @@ -18,18 +23,27 @@ set Magenta = #ff00ff set MagentaL = #ffa0ff set Red = #ff0000 +### +# show HOSTNAME and OS VERSION ... +### COLOR=%orange% HOST=wide:1,text:,display:@%1,font-size:200% REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId,set:releaseid,hidden:1 WMI=id:os,wide:1,namespace:root\cimv2,query:Win32_OperatingSystem,display:%caption% %releaseid% CPUTYPE=wide:1,text:,display:%1 +### +# show CPU HISTORY ... +### COLOR=%white% USER=wide:1,text:,display:User = %1 COMMENT=wide:1,text:,display:CPU History: CPU=interval:1,text-color:%white%,color:%green%,chart:filled max:100 series1:1 color1:00ff00 height:2,\ text:,display:%chart% +### +# show CPU usage ... +### COMMENT=wide:1,text:,display:CPU usage: CPU=interval:1,text-color:%white%,color:%magenta%,chart:bar max:100 series1:1 color1:%MagentaL% threshold:70,\ text:,display:%1[1.1f]% %chart% @@ -37,6 +51,9 @@ WMI=text:,interval:5,namespace:root\cimv2,query:Win32_Processor,display:Speed: % COMMENT=style:w +### +# show RAM data ... +### COMMENT=wide:1,color:%Orange%,text:,display:RAM USED PHYSICALRAM=interval:10,text-color:%white%,color:%green%,set:aram=%4[3.1b],alarms:(%3 ge 80 0000FF),\ chart:bar max:100 series1:3 color1:%greenl%,text:,display:%1[3.1b]B (%3%) %chart% @@ -45,30 +62,38 @@ PAGEFILE=text:,interval:5,display:Page file: %1[3.1g]GiB %3% of %2[1.0b]B COMMENT=style:w +### +# show STORAGE data ... +### TEXT=wide:1,color:%Orange%,text:,display:STORAGE USED -LOGICALDRIVES=text:,include:CDEF,interval:60,diskio:0,chart:bar2 scale:linear max:100 series1:7 threshold:80 color1:b55393 color2:%orange% color3:%red%, display:%1: %6[5.1g] of %5[3.0b]B %chart% +LOGICALDRIVES=text:,drive-size:1,interval:60,diskio:0,chart:bar2 scale:linear max:100 series1:7 threshold:80 color1:b55393 color2:%orange% color3:%red%, display:%1: %6[5.1g] of %5[3.0b]B %chart% COMMENT=style:w -# show network data ... +### +# show NETWORK data ... +### TEXT=wide:1,color:%Orange%,text:,display:NETWORK NETWORKINTERFACES=text:,interval:60,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=style:w +### +# show PROCESSES data ... +### PROCESSCOUNT=interval:5,wide:1,display: Processes: %1 - COMMENT=wide:1, display: (top 5 sorted by CPU usage) COMMENT=wide:1,color:%orange%,display:NAME PID CPU% TOPPROCESSCPU=interval:5,wide:1,maxrows:5,filter:-desktopinfo,display:%1[0.25s]%2[0.8s]%3[3.1f]% - COMMENT - COMMENT=wide:1, display: (top 5 sorted by MEM usage) COMMENT=wide:1,color:%orange%,display:NAME PID MEM TOPPROCESSMEM=interval:5,wide:1,maxrows:5,display:%1[0.25s]%2[0.8s]%3[1.0b] COMMENT=style:w -UPTIME=interval:60,wide:1,display: System Uptime: {{%1*24+%2}}h %3m +### +# show SYSTEM UPTIME ... +### +UPTIME=interval:60,wide:1,display: System Uptime: {{%1*24+%2}}h %3m