GithubHelp home page GithubHelp logo

conky-note's Introduction

conky-note

Note script for conky

Ver 2

Usage

  note [OPTION] [-i|--index= <index>] CONTENTS

Option

  -h, --help

display help and exit

  -a, --add <content> [index with -i option]

adding content to current page

  -r, --remove [content]|[index with -i option]

remove content of current page

  -c, --create [index with -i option]

create new page

  -d, --delete [index with -i option]

delete page

  -t, --turn [next|pre]|[index with -i option]

turn page

next: next page

pre|previous: previous page

     -o, --open [editor]

open notes file (default : gedit)

  --info

show current page number

index : line number (of current page) or page number, depend on used [OPTION]

Install

You need install conky and configure conkyrc first.

Then, adding command to your note config in conkyrc:

execpi 1 cat <notes current page location>

Example (using conky-colors):

############
# - Note - #
############
# type "ct help" in terminal for info
${voffset 4}${font Liberation Sans:style=Bold:size=8}NOTE $stippled_hr${font}
${voffset 4}${execpi 1 cat ~/.conkycolors/notes/current | fold -w 38 | sed 's/\[ \]/\[     \]/' | sed 's/\[X\]/\[ X \]/' | sed 's/\] /\] ${color2}/' | sed 's/$/${color}/' | sed 's/ X /${color0}${font ConkyColors:size=11}p${font}${color}${voffset -5}/'}
##########

Finally, you need config note command:

sudo chmod +x note
sudo mv note /bin/

That's it! Now you can use note command

note -h

Of course, you need run conky to see result

conky -c <path to your conkyrc>

conky-colors is recommended, use it for easier life :)

conky-note's People

Contributors

tuanlha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.