You are not logged in.
Hi,
I'm trying to show the output of wego on my X Root Window, on top of my background image, in order to minor weather information. I'm using i3 as a window manager, and nitrogen to set up my wallpaper. I was thinking of using Conky to display the output of wego on by wallpaper, however there is 2 problem with that:
1) The output is really crappy, as conky doesn't interpret the color codes as nicely as the terminal.
2) The text shown by conky disappears as soon as I have another windows on top (terminal with transparency, I'm using lilyterm).
Now, pb 2) might be just an issue with Lilyterm not using *real* transparency (I'm not sure how it works), and maybe I don't even want to show the weather when I have another window open on top of the wallpaper. But I really don't know if I can make 1) work with conky in the first place.
I'm also considering using imagemagicks to stack the output of wego on top of my wallpaper, saved in /tmp, and udpated for e.g. once per hour. This might be a bit overkill but I think at least is will work (well, there's still the issue that nitrogen resizes my wallpaper image, but I can work this out manually). However I don't know how to retrieve the colored text output of wego and use it to to compose an image on top of my wallpaper.
I've seen some programs called "root-tail" which seem to be doing what I wanted, but it's too old and I don't know how it works. There's also the option of writing a conky frontend to wego, which would basically mean replacing hardcoded color codes in https://github.com/schachmat/wego/blob/ … t-table.go by conky color codes. This approach seems quite feasible, but it's a bit tedious and there might not be enough colors for everything.
Any advice on what would be the most practical approach to this task?
Offline
I did install wego and tried it to display weather information with conky, but got the same problem.
wego > /tmp/wego.txt
cat /tmp/wego.txt
leafpad /tmp/wego.txtcat can display the output but if I use leafpad, output is garbled same as with conky.
so I tried to use cat with conky
${execpi 5 cat /tmp/wego.txt}again garbled output
Wego creates text output so I don't think imagemagick will work unless you are planning to capture the screen, but that will create more hazzles due to background.
Arch is home!
https://github.com/Docbroke
Offline