Fix large conky shadow when using large fonts.

After HiDPI was enabled, larger font sizes were needed in conky.conf.
Due to conky weirdness, this requires the addition of ${font} at the end
of the conky.text = [[ ]] section in conky.conf to prevent weird large
offsets for the drop shadow. This returns the shadow a ~1 pixel
offset.

See https://forums.gentoo.org/viewtopic-p-7132288.html

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
tetrakist 4 years ago committed by Maarten van Gompel
parent b574ff2f93
commit f8995ad25c
  1. 1
      configs/appcfg/conky.conf

@ -33,4 +33,5 @@ conky.config = {
conky.text = [[ conky.text = [[
${font Latin Modern Mono Caps:size=60}${alignc}${exec date +"%I:%M"}${font Latin Modern Mono Caps:size=15}${exec date +"%P" | tr 'amp' 'AMP'} ${font Latin Modern Mono Caps:size=60}${alignc}${exec date +"%I:%M"}${font Latin Modern Mono Caps:size=15}${exec date +"%P" | tr 'amp' 'AMP'}
${font Latin Modern Mono Caps:size=10}${alignc}${exec date +"%b %d, %Y"} ${font Latin Modern Mono Caps:size=10}${alignc}${exec date +"%b %d, %Y"}
${font}
]] ]]

Loading…
Cancel
Save