From 3718bbd31c66d48ef3f2ab71c6ec2600575f5c36 Mon Sep 17 00:00:00 2001 From: a Date: Sun, 18 Jun 2017 17:35:59 +0200 Subject: [PATCH] Update man and info docs --- doc/pinkybar.1 | 37 ++++++++++++++++++++++++++++++++----- doc/pinkybar.texi | 32 ++++++++++++++++++++++++++++---- 2 files changed, 60 insertions(+), 9 deletions(-) diff --git a/doc/pinkybar.1 b/doc/pinkybar.1 index 39d36d6..7d50a01 100644 --- a/doc/pinkybar.1 +++ b/doc/pinkybar.1 @@ -25,8 +25,8 @@ Try simulating real fan hardware failure by holding down all system fan 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 -script. +You can extend pinky\-bar with your own crafted +perl/python/ruby/lua/R/assembly 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. @@ -309,6 +309,12 @@ Extend pinkybar with your scripts written in R, learn more from the Opt\-in section. T} T{ +T}@T{ +\[en]asm +T}@T{ +Extend pinkybar with assembly, learn more from the Opt\-in section. +T} +T{ \-q T}@T{ \[en]weather @@ -696,6 +702,13 @@ T}@T{ Extend pinkybar with your own crafted scripts written in R T} T{ +\[en]with\-assembly +T}@T{ +\[en]without\-assembly +T}@T{ +Extend pinkybar with assembly +T} +T{ \[en]with\-weather T}@T{ \[en]without\-weather @@ -1316,11 +1329,15 @@ python >= 3.3 (\[en]with\-python3) lua >= 5.1 .IP \[bu] 2 ruby >= 2.0 and pkg\-config +.IP \[bu] 2 +R +.IP \[bu] 2 +assembly .PP -Have a look at extra/scripts/pinky.{py,pl,ruby,lua}, they serve as +Have a look at extra/scripts/pinky.{py,pl,ruby,lua,R,s}, they serve as examples how to write the most basic scripts in order to extend pinkybar -in python/perl/ruby/lua. -You can use the 3 languages simultaneously. +in python/perl/ruby/lua/R/assembly. +You can use all languages simultaneously. .PP Please, please do \f[B]NOT\f[] export or set PYTHONPATH on it's own line. @@ -1405,6 +1422,16 @@ luac\ \-o\ pinky.luac\ pinky.lua \f[] .fi .PP +\f[B]\[en]with\-assembly\f[] +.IP +.nf +\f[C] +~/pinkybar\ \-\-asm +\f[] +.fi +.PP + * * * * * +.PP To get the sound volume level: .IP \[bu] 2 alsa\-utils diff --git a/doc/pinkybar.texi b/doc/pinkybar.texi index 8e6aa1f..298c9c1 100644 --- a/doc/pinkybar.texi +++ b/doc/pinkybar.texi @@ -51,8 +51,8 @@ the statusbar. Try simulating real fan hardware failure by holding down 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 -script. +You can extend pinky-bar with your own crafted +perl/python/ruby/lua/R/assembly script. If you compile your kernel from source code make sure to include your cpu and motherboard sensors as @strong{modules} and not inlined. @@ -247,6 +247,9 @@ the Opt-in section. @tab Extend pinkybar with your scripts written in R, learn more from the Opt-in section. @item +--asm + @tab Extend pinkybar with assembly, learn more from the Opt-in section. +@item -q @tab --weather @tab Show the temperature outside [argument - London,uk] @@ -482,6 +485,10 @@ colorized @tab --without-r @tab Extend pinkybar with your own crafted scripts written in R @item +--with-assembly + @tab --without-assembly + @tab Extend pinkybar with assembly +@item --with-weather @tab --without-weather @tab The temperature outside (some details must be provided) @@ -1110,11 +1117,16 @@ python >= 3.3 (--with-python3) lua >= 5.1 @item ruby >= 2.0 and pkg-config +@item +R +@item +assembly @end itemize -Have a look at extra/scripts/pinky.@{py,pl,ruby,lua@}, they serve as +Have a look at extra/scripts/pinky.@{py,pl,ruby,lua,R,s@}, they serve as examples how to write the most basic scripts in order to extend pinkybar -in python/perl/ruby/lua. You can use the 3 languages simultaneously. +in python/perl/ruby/lua/R/assembly. You can use all languages +simultaneously. Please, please do @strong{NOT} export or set PYTHONPATH on it's own line. @@ -1183,6 +1195,18 @@ luac -o pinky.luac pinky.lua ~/pinkybar --R ~/chewbacca/pinky.R @end verbatim +@strong{--with-assembly} + +@verbatim +~/pinkybar --asm +@end verbatim + +@iftex +@bigskip@hrule@bigskip +@end iftex +@ifnottex +------------------------------------------------------------------------ +@end ifnottex To get the sound volume level: @itemize -- 2.11.0