Added new disk display mode called 'perc'
This commit is contained in:
parent
1463b8f336
commit
ab356239f3
4 changed files with 7 additions and 3 deletions
3
neofetch
3
neofetch
|
|
@ -1537,6 +1537,7 @@ getdisk () {
|
|||
"bar") disk="$(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
||||
"infobar") disk+=" $(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
||||
"barinfo") disk="$(bar "${disk_used/'.'*}" "${disk_total/'.'*}") $disk" ;;
|
||||
"perc") disk="$disk_total_per $(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
@ -2554,7 +2555,7 @@ usage () { cat << EOF
|
|||
--battery_display mode Which way should the battery progress bar be added
|
||||
Takes bar, infobar, barinfo
|
||||
--disk_display mode Which way should the disk progress bar be added
|
||||
Takes bar, infobar, barinfo
|
||||
Takes bar, infobar, barinfo, perc
|
||||
|
||||
|
||||
Image:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue