SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-01-31 04:18:25

toro-terco
Member
From: Everywhere
Registered: 2011-01-24
Posts: 16

[solved]Countdown script displayed on Desktop

I have a countdown timer written in java that I would like to display on my desktop, kind of like a widget, or part of a wallpaper.  Is there any way to do this?


EDIT:::: 
used conky and a called "countdown.sh" file i created in my home folder. 


countdown.sh contains:

#!/bin/bash
### Change the date using yyyy-mm-dd to the day you want to count down to ###
echo $((($(date +%s -d "2014-01-15") - $(date +%s -d now ))/86400))

added this to .conkyrc

##Change "XXXXX" to whatever you're counting down for,  ie. Vacation, Your birthday, etc.##
Days Until XXXXX${execi 3600 ~/countdown.sh}

Last edited by toro-terco (2011-01-31 05:46:46)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo