After a lot of trying to get it running dynamically without a background tint (by trying to get alpha blending of the actual terminal content to work) i gave up on that and came up with a solution that at least works statically. The way it works is it takes a "screen shot" of the command output and then applies alpha-blending to the resulting image. That process is hidden by applying 100% alpha to the terminal window that captures the image via xwinwrap. That captured image is then displayed via conky (because feh, imagemagick's display etc did all fail to blend correctly).
TLDR: Bash-command -> image -> alpha blend -> conky.
For me it is usefull to display weather information fetched via curl from http://wttr.in/.
What to change / How to use:
You can change the "TERMINAL_SIZE" (screenshot size) in the file "display_conky_bash.sh" so it fits the output of your command.
You should change "SCRIPTDIR" to the location where you put the script in the file "display_conky_bash.sh".
You can change the command that is to be executed in the file command.sh.
Download:
link to example image: https://ibb.co/FQdBQZh
link to script: https://limewire.com/d/f66455b8-2d20-47 ... Fss4yqoQrs (will expire in 1 week)
Download via curl (supposedly no expiration upload service):
Code: Select all
curl -fsLS -o conky-bash.tar.gz --compressed https://summer-host-storage.yoursunny.dev/20c5d/219cb/conky-bash.tar.gz
Code: Select all
$HOME/.fluxbox/scripts/conky-bash/display_conky_bash.sh &