Invisible text (en)

From Conky PitStop

Jump to: navigation, search

Invisible text

 Language   English   Français   


By: jjgomera

This is not to be confused with the "Semi-transparent font" for Conky by Crinos512 and _tmo_.
This is a Tip by jjgomera on how to make your DEFAULT “xftfont” text in conky either semi-transparent or totally transparent.

xftalpha      #Alpha of Xft font. Must be a value at or between 1 and 0.

Make text transparent using “xftalpha 0″ but it only works on the default xftfont font, so add ${font} before all text you want transparent to make sure you have the default font:

xftalpha 0
xftalpha 0.1
xftalpha 0.5
xftalpha 1


The code to accomplish this:

${color white}${font LCDMono:size=30}${time %H:%M}$font${voffset -10}${font LCDMono:size=16}${time :%S}$font
${voffset 7}${color gold}${execi 60 ~/configuracion/calendario.sh mes}
${color dddddd}${execi 60 ~/configuracion/calendario.sh semana}
${color 888888}${execi 60 ~/configuracion/calendario.sh pasado}${color red}${execi 60 ~/configuracion/calendario.sh hoy}${color 888888}${execi 60 ~/configuracion/calendario.sh futuro}

Again, it only works with default “xftfont” font, so somewhere above TEXT:

# Use Xft?
use_xft yes
 
# Xft font when Xft is enabled
xftfont xxxxxxx
xftalpha 0  # value at or between 1 and 0

Thank you jjgomera

Personal tools
Namespaces
Variants
Actions
Navigation
English
Français
Toolbox