mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13: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
|
||||
# Disable the menu, since screen-profiles configurator is not available
|
||||
# Enable user@host in its place
|
||||
echo "
|
||||
menu=0
|
||||
hostname=1
|
||||
whoami=1"
|
||||
for i in $(ls /var/lib/screen-profiles/); do
|
||||
case "$i" in
|
||||
cpu-count|cpu-freq|hostname|load-average|logo|mem-available|mem-used|reboot-required|release|updates-available|whoami)
|
||||
echo "$i=1"
|
||||
;;
|
||||
*)
|
||||
echo "$i=0"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
hr() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue