Skip to content

Automatically exported from code.google.com/p/bashsimplecurses

License

Notifications You must be signed in to change notification settings

jordwalke/bashsimplecurses

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Bash Simple Curses

Documentation Status

"Bash simple curses" give you some basic functions to quickly create some windows on you terminal as Xterm, aterm, urxvt...

An example is given: bashbar. Bashbar is a monitoring bar that you can integrate in tiling desktop (Xmonad, WMii...)

The goal of Bash Simple Curses is not done (not yet) to create very complete windows. It is only done to create some colored windows and display informations into.

To use library, you have to import library "simple_curses.sh" into you bash script:

#!/bin/bash

#import library, please check path
#source /usr/lib/simple_curses.sh
source /usr/local/lib/simple_curses.sh

#Then, you must create a "main" function:
main (){
    #your code here, you can add some windows, text...
    window "title" "color"
    append "Text..."
    endwin
}

#then, you can execute loop:
main_loop 1

That's all...

Go into the project to have documentation about functions: https://github.com/metal3d/bashsimplecurses

About

Automatically exported from code.google.com/p/bashsimplecurses

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 91.4%
  • Makefile 8.6%