Main index > Off the wall > What is this desklets???

By mastertet (User), on Wed Sep 7 20:00:22 2005: What is this desklets???.

Hello,

I wonder what is the note taking desklets on this screenshot:
http://adesklets.sourceforge.net/images/screenshots/darkliquid_2.jpg

Any idea?

Thanks

By darkliquid (Desklet Author), on Thu Sep 8 13:15:30 2005.

Thats my desktop! :D

basically, its just the doityourself desklet that grabs the contents of a file (in my case ~/.notes) with the cat command. I bound the 'on click' to gedit ~/.notes

I'm still using version 0.2.1 of doityourself I think.

By mastertet (User), on Thu Sep 8 15:01:09 2005.

WOW, seem simple... Is it?

Your desktop is really nice BTW

By darkliquid (Desklet Author), on Fri Sep 9 07:18:46 2005.

Code:


# Exit immediately if any command fails:
set -e

case $1 in
    test)
        echo "Notes:"
        cat ~/.notes
        ;;
    click)
        gedit ~/.notes &
        echo "Notes:"
        cat ~/.notes
        ;;
    *)
        echo "Usage: $0 [ test | click ] test-value"
esac



is the script code I use for that notes thing. It will only work with older versions of doityourself though as far as I know.

By dessaya (Desklet Author), on Fri Sep 9 21:46:56 2005.

darkliquid wrote:

[snip code]

is the script code I use for that notes thing. It will only work with older versions of doityourself though as far as I know.

Well, that particular script will work fine even with the newest version, as it does not use any of the "bells and whistles" :D

Diego

By darkliquid (Desklet Author), on Sat Sep 10 04:34:01 2005.

dessaya wrote:

darkliquid wrote:

[snip code]

is the script code I use for that notes thing. It will only work with older versions of doityourself though as far as I know.

Well, that particular script will work fine even with the newest version, as it does not use any of the "bells and whistles" :D

Diego


Even better!


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.