#Bash Simple Curses
"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