From: a Date: Thu, 22 Jun 2017 13:50:02 +0000 (+0200) Subject: Update README X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8de01fe4a16abbdab2cc3893ff459ca533d8169f;p=pinky-bar%2Fpinky-bar.git Update README --- diff --git a/doc/pinkybar.1 b/doc/pinkybar.1 index c4f736c..2f59e1f 100644 --- a/doc/pinkybar.1 +++ b/doc/pinkybar.1 @@ -30,7 +30,7 @@ blades and watch what the program will show you, just try not to slice your cheesy fingers open in the process. .PP You can extend pinky\-bar with your own crafted -perl/python/ruby/lua/R/assembly/lisp/ocaml script. +perl/python/ruby/lua/R/assembly/lisp/ocaml/rust script. .PP If you compile your kernel from source code make sure to include your cpu and motherboard sensors as \f[B]modules\f[] and not inlined. @@ -333,6 +333,13 @@ Extend pinkybar with your scripts written in ocaml, learn more from the Opt\-in section. T} T{ +T}@T{ +\[en]rust +T}@T{ +Extend pinkybar with your scripts written in rust, learn more from the +Opt\-in section. +T} +T{ \-q T}@T{ \[en]weather @@ -741,6 +748,13 @@ T}@T{ Extend pinkybar with your own crafted scripts written in ocaml T} T{ +\[en]with\-rust +T}@T{ +\[en]without\-rust +T}@T{ +Extend pinkybar with your own crafted scripts written in rust +T} +T{ \[en]with\-weather T}@T{ \[en]without\-weather @@ -1355,7 +1369,7 @@ Copy the code from extra/scripts/drive\-temperature.sh or \f[C]exec\f[] it from \f[B]xinitrc\f[] or the script used to start your DE/WM. .PP To extend pinkybar with your own crafted -perl/python/ruby/lua/assembly/R/ocaml/lisp script: +perl/python/ruby/lua/assembly/R/ocaml/lisp/rust script: .IP \[bu] 2 perl .IP \[bu] 2 @@ -1374,10 +1388,12 @@ assembly (the \f[B]as\f[] program from binutils) ecl for lisp .IP \[bu] 2 ocaml +.IP \[bu] 2 +rust .PP Have a look at extra/scripts/pinky.{py,pl,ruby,lua,R,s,lisp}, they serve as examples how to write the most basic scripts in order to extend -pinkybar in python/perl/ruby/lua/R/assembly/lisp/ocaml. +pinkybar in python/perl/ruby/lua/R/assembly/lisp/ocaml/rust. You can use all languages simultaneously. .PP Please, please do \f[B]NOT\f[] export or set PYTHONPATH on it's own @@ -1490,6 +1506,17 @@ The source code resides in the \f[B]src\f[] folder under the name of \f[] .fi .PP +\f[B]\[en]with\-rust\f[] +.PP +The source code resides in the \f[B]src\f[] folder under the name of +\f[B]pinky.rs\f[] +.IP +.nf +\f[C] +~/pinkbar\ \-\-rust +\f[] +.fi +.PP * * * * * .PP To get the sound volume level: diff --git a/doc/pinkybar.texi b/doc/pinkybar.texi index 9bea8b7..059b437 100644 --- a/doc/pinkybar.texi +++ b/doc/pinkybar.texi @@ -58,7 +58,7 @@ all system fan blades and watch what the program will show you, just try not to slice your cheesy fingers open in the process. You can extend pinky-bar with your own crafted -perl/python/ruby/lua/R/assembly/lisp/ocaml script. +perl/python/ruby/lua/R/assembly/lisp/ocaml/rust script. If you compile your kernel from source code make sure to include your cpu and motherboard sensors as @strong{modules} and not inlined. @@ -268,6 +268,10 @@ the Opt-in section. @tab Extend pinkybar with your scripts written in ocaml, learn more from the Opt-in section. @item +--rust + @tab Extend pinkybar with your scripts written in rust, learn more from +the Opt-in section. +@item -q @tab --weather @tab Show the temperature outside [argument - London,uk] @@ -515,6 +519,10 @@ colorized @tab --without-ocaml @tab Extend pinkybar with your own crafted scripts written in ocaml @item +--with-rust + @tab --without-rust + @tab Extend pinkybar with your own crafted scripts written in rust +@item --with-weather @tab --without-weather @tab The temperature outside (some details must be provided) @@ -1135,7 +1143,7 @@ Copy the code from extra/scripts/drive-temperature.sh or @code{exec} it from @strong{xinitrc} or the script used to start your DE/WM. To extend pinkybar with your own crafted -perl/python/ruby/lua/assembly/R/ocaml/lisp script: +perl/python/ruby/lua/assembly/R/ocaml/lisp/rust script: @itemize @item @@ -1156,12 +1164,14 @@ assembly (the @strong{as} program from binutils) ecl for lisp @item ocaml +@item +rust @end itemize Have a look at extra/scripts/pinky.@{py,pl,ruby,lua,R,s,lisp@}, they serve as examples how to write the most basic scripts in order to extend -pinkybar in python/perl/ruby/lua/R/assembly/lisp/ocaml. You can use all -languages simultaneously. +pinkybar in python/perl/ruby/lua/R/assembly/lisp/ocaml/rust. You can use +all languages simultaneously. Please, please do @strong{NOT} export or set PYTHONPATH on it's own line. @@ -1251,6 +1261,15 @@ The source code resides in the @strong{src} folder under the name of ~/pinkbar --ocaml @end verbatim +@strong{--with-rust} + +The source code resides in the @strong{src} folder under the name of +@strong{pinky.rs} + +@verbatim +~/pinkbar --rust +@end verbatim + @iftex @bigskip@hrule@bigskip @end iftex