mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
show all status options available in the status config file
This commit is contained in:
parent
12df044d55
commit
ed3b91c020
1 changed files with 10 additions and 4 deletions
|
@ -86,10 +86,16 @@ status_config() {
|
||||||
# Generate the status configuration
|
# Generate the status configuration
|
||||||
# Disable the menu, since screen-profiles configurator is not available
|
# Disable the menu, since screen-profiles configurator is not available
|
||||||
# Enable user@host in its place
|
# Enable user@host in its place
|
||||||
echo "
|
for i in $(ls /var/lib/screen-profiles/); do
|
||||||
menu=0
|
case "$i" in
|
||||||
hostname=1
|
cpu-count|cpu-freq|hostname|load-average|logo|mem-available|mem-used|reboot-required|release|updates-available|whoami)
|
||||||
whoami=1"
|
echo "$i=1"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$i=0"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
hr() {
|
hr() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue