How to add a transp...
 
Notifications
Clear all

How to add a transparent background?

3 Posts
2 Users
1 Reactions
204 Views
(@bart0s)
Active Member Registered
Joined: 7 months ago
Posts: 3
Topic starter  

I am not sure if this is possible but I've been trying for a bit and can't get it.

I want to be able to just add a background color (transparency or not) to Desktop Info so I don't have to rely on the text color alone to be able to see. On wallpaper that is light, white or light text won't be readable and the opposite for dark wallpaper. That's why adding a background would make the text stand out no matter the wallpaper color. Then I can just do white text for everything on a dark gray or black background. I apologize if I didn't look hard enough or just missed how to do it because I don't understand something about how the layout works, but I have tried. Is this possible?

Here is what I have for my config:

[options]
# size and position
top=0
right=0
width=200

# font
font-face=Arial
font-size=7

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

[items]
COMMENT=style:w,text:Computer Overview
PAGE=1
COLOR=
HOST=text:Hostname, %1
DOMAIN=text:Domain, %1
USER=
NETWORKINTERFACES=text:IP,interval:30,operstatus:1,iftype:6 71,display:%2: %8
DNSSERVER=text:DNS,%1
CPU=text:CPU,interval:3,chart:bar max:100 series1:1 color1:ffffff ,alarms:(%1 ge 80 0000FF),display:Utilization: %1[2.0f]%
PHYSICALRAM=text:RAM,interval:3,chart:bar max:%2 series1:1 color1:FFFFFF, alarms:(%3 ge 80 0000FF),display:%1[3.1b]B / %2[3.1b]B
UPTIME=text:Uptime,interval:30,display:%1 days %2 hrs %3 mins

 

 


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1298
 

you have to do two things: reduce the transparency, set the background colour.

put the following in the [options] section

[options]
formcolor=#202080
transparency=50

now play with the numbers to get your desired effect

 


   
ReplyQuote
(@bart0s)
Active Member Registered
Joined: 7 months ago
Posts: 3
Topic starter  

@glenn Thank you for such a fast reply. I have it working how I want now. 👍


   
Glenn reacted
ReplyQuote
Glenn's Page