diff --git a/1.6.md b/1.6.md index 61e4a027..d630cc9b 100644 --- a/1.6.md +++ b/1.6.md @@ -30,6 +30,9 @@ Thanks to the following people for contributing this release. **Song**
- [ MPD ] Fixed function when mpd is running on another PC and not your own. +**Disk**
+- Added new display option `perc` to display just the percentage with the progress bar. + **Uptime**
- [ OSX ] Performance improvements. **[@iandrewt](https://github.com/iandrewt)** diff --git a/README.md b/README.md index c0741d75..8b7be8b1 100644 --- a/README.md +++ b/README.md @@ -347,7 +347,7 @@ alias fetch2="fetch \ --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: diff --git a/neofetch b/neofetch index b632efd3..c7bd25dd 100755 --- a/neofetch +++ b/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: diff --git a/neofetch.1 b/neofetch.1 index b2132234..c3ab71c9 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -151,7 +151,7 @@ Takes: bar, infobar, barinfo .B \--disk_display mode Which way should the disk progress bar be added .br -Takes: bar, infobar, barinfo +Takes: bar, infobar, barinfo, perc .SH IMAGE .TP