# Sample configuration file
# by Neil J
# This works best with a fixed width font

[options]

# size and position
top=105
left=0
width=295
column1width=0
cleartype=1

# font
font-face=Lucida Sans Typewriter
font-size=9
line-spacing=0

# logging
# log=desktopinfo.log
# log-level=error

# navigation buttons
nav=0

#misc
desktopinfo64=1

[items]

# colors
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

# battery status lookup table
set=key:battery1,value:discharging
set=key:battery2,value:charging
set=key:battery3,value:charged

COLOR=%White%

# date and time
DATETIME=text:,style:b,interval:30,font-size:24,display:%5[1.0a]:%6[2.0d]%5[2.0p]
DATETIME=text:,style:b,interval:60,font-size:17,display:%1[dddd]
DATETIME=text:,style:b,interval:60,font-size:14,display:%2 %3[mmmm] %4[yyyy]

COMMENT=text:

# host/os
HOST=color:%Orange%,text:,interval:0
OEMINFO=text:,interval:0,display:%2
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% Build %1

COMMENT=text:

# USER=text:,interval:0,display:User: %1
UPTIME=text:,interval:30,display:Uptime: %2 hours %3 minutes
WMI=text:,interval:30,hide-no-result:1,namespace:root\cimv2,query:Win32_Battery,chart:bar2 scale:linear max:100 series1:15 threshold:40 color1:%red% color2:%orange% color3:%silver%,display:Battery: %EstimatedChargeRemaining%% %battery%BatteryStatus%% %chart%
# WMI=text:,interval:30,hide-no-result:1,namespace:root\cimv2,query:Win32_Battery,display:Remaining: about {{2.1f:%EstimatedRunTime%/60}} hours

COMMENT=text:

# cpu
CPUTYPE=color:%Orange%,text:,interval:0
WMI=text:,interval:5,namespace:root\cimv2,query:Win32_Processor,display:Speed: %CurrentClockSpeed%[4.2K]GHz
CORETEMP=text:,interval:5,threshold1:1 70 %red%,display:Temperature: %1°C
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, threshold1:1 80 %red%,threshold2:2 40 %red%,display:Load: %1[2.0f]% Kernel:%2[2.0f]% Queue: %3
TOPPROCESSCPU=text:,interval:10,maxrows:1,display:Top process: %3% %1

COMMENT=text:

# memory
TEXT=color:%Orange%,text:,display:MEMORY USED
PHYSICALRAM=text:,interval:5,threshold1:3 80 0000FF,display:RAM: %1[3.1g]GiB %3% of %2[1.0b]B
VIRTUALMEMORY=text:,interval:5,display:Virtual: %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
# PAGEFAULTS=text:,interval:5,threshold1:5 -80 2222cc,display:Page Faults: %1/sec Hit Ratio: %5%
TOPPROCESSMEM=text:,interval:5,counter:pu,maxrows:1,display:Top process: %3[3.1g]GiB %1

COMMENT=text:

# disks
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%,threshold1:11 10000000 0000f0,threshold2:13 10000000,threshold3:7 90 0070f0, 0060f0,display:%1: %6[5.1g] of %5[3.0b]B %chart%
# %7[3.0f]%

COMMENT=text:

# network
TEXT=color:%Orange%,text:,display:NETWORK
NETWORKINTERFACES=text:,interval:30,operstatus:1,iftype:6 71,display:%2: %8/%10
WMI=text:,interval:60,threshold1:11 34 0088f0,namespace:root\cimv2,query:Win32_PingStatus where address='1.1.1.1',display:Latency: %ResponseTime%ms from 1.1.1.1
NETCONNECTIONS=text:,interval:5,display:Connections: %1
WMI=text:,interval:3,background-interval:60,hide-no-result:1,chart:line2 height:2 scale:log max:23 series1:1 color1:ffffff series2:2 color2:71b8ff,threshold1:1 {{%CurrentBandwidth%/8*95/100}} 2222ee,threshold2:2 {{%CurrentBandwidth%/8*95/100}} #ff0000,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like '%Wireless%' and CurrentBandwidth>0,display:B: {{2.0B:%CurrentBandwidth%/8}}Bps R:%BytesReceivedPersec%[3.0b]Bps S:%BytesSentPersec%[3.0b]Bps
WMI=text:,interval:3,background-interval:60,hide-no-result:1,chart:line2 height:2 scale:log max:23 series1:1 color1:ffffff series2:2 color2:71b8ff,threshold1:1 {{%CurrentBandwidth%/8*95/100}} 2222ee,threshold2:2 {{%CurrentBandwidth%/8*95/100}} #ff0000,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like '%Ethernet%' and CurrentBandwidth>0,display:B: {{2.0B:%CurrentBandwidth%/8}}Bps R:%BytesReceivedPersec%[3.0k]Bps S: %BytesSentPersec%[3.0k]Bps
WMI=text:,interval:3,background-interval:60,hide-no-result:1,chart:line2 height:2 scale:log max:23 series1:1 color1:ffffff series2:2 color2:71b8ff,threshold1:1 {{%CurrentBandwidth%/8*95/100}} 2222ee,threshold2:2 {{%CurrentBandwidth%/8*95/100}} #ff0000,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like '%Mobile%' and CurrentBandwidth>0,display:B: {{2.0B:%CurrentBandwidth%/8}}Bps R:%BytesReceivedPersec%[3.0k]Bps S:%BytesSentPersec%[3.0k]Bps
# NETPACKETS=text:,interval:5,display:Packets: r:%1[1.0n] s:%2[1.0n]
# NETPACKETSRATE=text:,interval:5,mtu:1500,display:Rate: r:%1[1.1b]Bps s:%2[1.1b]Bps