comics without karamba

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

It's seem like an equivalent to some comics.theme on superkaramba but without using it.
it s a script to dowload comics picture of the day and and merge it to a picture to obtain a new picture useable like wallpaper
You can add it on your Desktop Environment autorun directory


#!/bin/bash
#script for download daily comics
#and add it to your current wallpaper
#use $original_wallpaper_directory/composite.png like new wallpaper
original_wallpaper_directory="/mnt/data/images/wallpapers/"
original_wallpaper_name="plage.png"
temp_comics_file="/home/user/tmp/comics.gif"

wget "http://www.sinfest.net/comikaze/comics/"$(date +'%Y-%m-%d')".gif" -O $temp_comics_file
#optional
convert $temp_comics_file -resize 75% $temp_comics_file

composite -gravity SouthWest $temp_comics_file $original_wallpaper_directory$original_wallpaper_name $original_wallpaper_directory"composite.png"
#script end
C

damienj

12 years ago

thanks, it's a nice other possibility

Report

Pensacola

12 years ago

I did a remake of the script to download the garfield comic:

#!/bin/bash
original_wallpaper_directory="/home/user/Looks/Wallpapers/"
original_wallpaper_name="nature.jpg"
temp_comics_file="/home/user/Looks/Wallpapers/comics.gif"

wget "http://images.ucomics.com/comics/ga/$(date +%Y)/ga$(date +%y%m%d).gif" -O $temp_comics_file
convert -mattecolor "#176aa0" -frame 15x15+5+5 $temp_comics_file $temp_comics_file

composite -compose atop -gravity SouthWest -geometry +50+50 $temp_comics_file $original_wallpaper_directory$original_wallpaper_name $original_wallpaper_directory"composite.jpg"

This is what it looks like:
http://img.photobucket.com/albums/v634/Pensacola/desktop-1.jpg

Report

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1
updated Mar 03 2007
added Mar 03 2007
downloads 24h
0
page views 24h 2