[Solved] Can conky display more than one image?

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
iamoraal
Level 2
Level 2
Posts: 81
Joined: Sun Jan 12, 2020 4:05 pm

[Solved] Can conky display more than one image?

Post by iamoraal »

I am trying to get conky to display two images in the same window, in different window locations.
In the script below, either image will be displayed on their own, with the other commented out. So I know the file paths are correct. Is there a way to get conky to display more than one image?
Irvin.

Code: Select all

[attachment=0]conky.conf.txt[/attachment]
Attachments
conky.conf.txt
(1.33 KiB) Downloaded 82 times
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint 20 Ulyana, Cinnamon 4.6.6, iMac8.1, Intel Core2 Duo E8135
User avatar
zcot
Level 9
Level 9
Posts: 2781
Joined: Wed Oct 19, 2016 6:08 pm

Re: Can conky display more than one image?

Post by zcot »

Yes.

You did end the ${ image tag with ) instead of } (both of the lines).

So the first portion of the first ${image does work, and then the config is broken after that point.

See here:

Code: Select all

${alignc}${image /etc/conky/weather_icons/01d.png -p 10,100)
${alignc}${image /etc/conky/moon-icons/09.png -p 10,500)
Now you see this is broken too:

Code: Select all

${alignc}${image /etc/conky/weather_icons/01d.png -p 10,100)
${alignc}${image /etc/conky/moon-icons/09.png -p 10,500)
THIS IS A TEST!!!
and broken also.
iamoraal
Level 2
Level 2
Posts: 81
Joined: Sun Jan 12, 2020 4:05 pm

Re: Can conky display more than one image?

Post by iamoraal »

@zcot:
Thanks. My first reaction was "No Way!". LOL. Now I'm all smiles. :D
Irvin.
Linux Mint 20 Ulyana, Cinnamon 4.6.6, iMac8.1, Intel Core2 Duo E8135
Locked

Return to “Compiz, Conky, Docks & Widgets”