Skip to content

Instantly share code, notes, and snippets.

@pravin
Created January 2, 2022 23:43
Show Gist options
  • Save pravin/44036511925258b54b2c1577d27e8472 to your computer and use it in GitHub Desktop.
Save pravin/44036511925258b54b2c1577d27e8472 to your computer and use it in GitHub Desktop.
My desktopinfo.ini file
# Desktop Info by Glenn Delahoy
# See the manual for a full description of all options
[options]
# size and position
top=0
right=0
width=500
nav=0
# font
font-face=Bahnschrift SemiCondensed
font-size=20
# logging
log=desktopinfo.log
log-level=debugonerror
[screen-saver]
font-face=Bahnschrift SemiCondensed
font-size=16
centerv=1
centerh=1
[text]
noresults=<n/a>
error=[error]
null-result=<null>
unknown=Unknown
menu-export=Export
menu-reload=Reload
menu-configuration=Edit Configuration
menu-log=Open Log File
menu-manual=Read Manual
menu-about=About Desktop Info
menu-quit=Quit
nav-previous=Previous Page
nav-home=Home Page
nav-next=Next Page
[items]
# colors
set White = #ffffff
set Grey = #909090
set Cyan = #00ffff
set Magenta = #ff00ff
set Green = #00ff00
set Orange = #ffd000
set Yellow = #ffff00
set Silver = #d0d0d0
set Blue = #0000f0
set Red = #ff0000
DATETIME=text:,font-size:400%,interval:10,display: %9| %10
# page 1 - cpu
COMMENT=font-size:50%
CPU=text:CPU,interval:3,background-interval:10,chart:line max:100 series1:1 color1:%Green% series2:2 color2:%Magenta% series3:%3 color3:%Red%, alarms:(%1 ge 80 %Red%)(%2 ge 40 %red%)(%3 ge 20 %orange%),display:%chart%
CPU=text:,font-size:80%,font-face:Iosevka SS08,interval:3,background-interval:10,display: Tot: %1[2.0f]% Knl: %2[2.0f]% Que: %3[2.2s] Prc: %4[0.5s] Thr: %5[0.7s]
WMI=interval:5,hide-no-result:1,text:Cpu Temp,namespace:root\wmi,query:MSAcpi_ThermalZoneTemperature,display: {{%CurrentTemperature%/10-273.15}}[1.0f]C / {{%CriticalTripPoint%/10-273.15}}[1.0f]C
COMMENT=Top Processes
TOPPROCESSCPU=interval:5,wide:1,font-face:Iosevka SS08,font-size:80%,maxrows:5,display: %1[0.25s]%2[0.10s]%3[4.1f]%
# page 1 - memory
COMMENT=font-size:50%
PHYSICALRAM=interval:30,text:MEM,alarms:(%3 ge 80 0000FF),display:%1[3.1b]B / %2[3.1b]B
TOPPROCESSMEM=interval:10,wide:1,font-face:Iosevka SS08,font-size:80%,counter:pu,text:Top,maxrows:5,display: %1[0.25s]%2[0.10s]%3[1.1b]B
PAGEFAULTS=interval:10,font-size:80%,text:Faults,alarms:(%5 le 80 %Yellow%),display:Tot: %1\, Hrd: %2\, Hit: %5%
# page 1 - disks
COMMENT=font-size:50%
LOGICALDRIVES=interval:5,diskio:1,font-size:85%,chart:bar max:100 series1:7 threshold:75,alarms:(%11 ge 10000000 0000f0)(%13 ge 10000000 0060f0),row-text:Drive %1:%3|(%2),display:%6[1.0B]B / %5[1.0B]B|%chart%| r: %11[1.1B]B/s\, w: %13[1.1B]B/s\, q: %17
# page 1 - gpu
COMMENT=font-size:50%
CMD=interval:5,text:GPU,file:nvidia-smi.exe,parameters:--query-gpu=utilization.gpu\,utilization.memory\,temperature.gpu\,pstate --format=csv,read-as-csv:1,display:Usage %1 Mem %2 Temp %3°C Mode %4
@pravin
Copy link
Author

pravin commented Jan 2, 2022

What it looks like
Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment