mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 05:23:20 -07:00
* usr/share/man/man1/byobu.1: LP: #1059237
- document that you can copy status scripts to ~/.byobu/bin and modify them locally
This commit is contained in:
parent
ff1f6e64f3
commit
0cdbe2ff59
2 changed files with 5 additions and 1 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -24,6 +24,9 @@ byobu (5.22) unreleased; urgency=low
|
||||||
* usr/lib/byobu/include/constants: LP: #1068580
|
* usr/lib/byobu/include/constants: LP: #1068580
|
||||||
- test for the sed --follow-symlink option and only use it when
|
- test for the sed --follow-symlink option and only use it when
|
||||||
available
|
available
|
||||||
|
* usr/share/man/man1/byobu.1: LP: #1059237
|
||||||
|
- document that you can copy status scripts to ~/.byobu/bin and
|
||||||
|
modify them locally
|
||||||
|
|
||||||
[ Jake Biesinger and Dustin Kirkland ]
|
[ Jake Biesinger and Dustin Kirkland ]
|
||||||
* usr/share/byobu/keybindings/common, usr/share/byobu/keybindings/f-
|
* usr/share/byobu/keybindings/common, usr/share/byobu/keybindings/f-
|
||||||
|
|
|
@ -37,11 +37,12 @@ The background colors of the \fBbyobu\fP status lines can be adjusted by editing
|
||||||
|
|
||||||
\fBcpu_temp\fP \- the cpu temperature in Celsius (default) or Fahrenheit, configure TEMP=F or TEMP=C in \fI$BYOBU_CONFIG_DIR/statusrc\fP; displayed in the lower bar toward the right in yellow text on a black background; you may override the detected cpu temperature device by setting MONITORED_TEMP=/proc/acpi/whatever in \fI$BYOBU_CONFIG_DIR/statusrc\fP
|
\fBcpu_temp\fP \- the cpu temperature in Celsius (default) or Fahrenheit, configure TEMP=F or TEMP=C in \fI$BYOBU_CONFIG_DIR/statusrc\fP; displayed in the lower bar toward the right in yellow text on a black background; you may override the detected cpu temperature device by setting MONITORED_TEMP=/proc/acpi/whatever in \fI$BYOBU_CONFIG_DIR/statusrc\fP
|
||||||
|
|
||||||
\fBcustom\fP \- user defined custom scripts; must be executable programs of any kind in \fI$BYOBU_CONFIG_DIR/bin\fP; must be named N_NAME, where N is the frequency in seconds to refresh the status indicator, and NAME is the name of the script; N should not be less than 5 seconds; the script should echo a small amount of text to standard out, standard error is discarded; the indicator will be displayed in the lower panel, in default colors, unless you manually specify the colors in your script's output; BEWARE, cpu-intensive custom scripts may impact your overall system performance and could upset your system administrator!
|
\fBcustom\fP \- user defined custom scripts; must be executable programs of any kind in \fI$BYOBU_CONFIG_DIR/bin\fP; must be named N_NAME, where N is the frequency in seconds to refresh the status indicator, and NAME is the name of the script; N should not be less than 5 seconds; the script should echo a small amount of text to standard out, standard error is discarded; the indicator will be displayed in the lower panel, in default colors, unless you manually specify the colors in your script's output; BEWARE, cpu-intensive custom scripts may impact your overall system performance and could upset your system administrator! In fact, you can easily copy and modify \fBany\fP status script usually found in \fI/usr/lib/byobu/*\fP to your local \fI$HOME/.byobu/\fP directory.
|
||||||
Example: \fI$BYOBU_CONFIG_DIR/bin/1000_uname\fP
|
Example: \fI$BYOBU_CONFIG_DIR/bin/1000_uname\fP
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
printf "\\005{= bw}%s\\005{\-}" "$(uname \-r)"
|
printf "\\005{= bw}%s\\005{\-}" "$(uname \-r)"
|
||||||
|
|
||||||
|
|
||||||
\fBdate\fP \- the system date in YYYY-MM-DD formate; displayed in the lower on the far right in the default text color on the default background
|
\fBdate\fP \- the system date in YYYY-MM-DD formate; displayed in the lower on the far right in the default text color on the default background
|
||||||
|
|
||||||
\fBdisk\fP \- total disk space available and total used on / directory; displayed in the lower bar on the far right in white text on a light purple background; override the default directory by specifying an alternate mount point with MONITORED_DISK=/wherever in \fI$BYOBU_CONFIG_DIR/statusrc\fP
|
\fBdisk\fP \- total disk space available and total used on / directory; displayed in the lower bar on the far right in white text on a light purple background; override the default directory by specifying an alternate mount point with MONITORED_DISK=/wherever in \fI$BYOBU_CONFIG_DIR/statusrc\fP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue