mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
Added new disk display mode called 'perc'
This commit is contained in:
3
1.6.md
3
1.6.md
@@ -30,6 +30,9 @@ Thanks to the following people for contributing this release.
|
||||
**Song**<br \>
|
||||
- [ MPD ] Fixed function when mpd is running on another PC and not your own.
|
||||
|
||||
**Disk**<br \>
|
||||
- Added new display option `perc` to display just the percentage with the progress bar.
|
||||
|
||||
**Uptime**<br \>
|
||||
- [ OSX ] Performance improvements. **[@iandrewt](https://github.com/iandrewt)**
|
||||
|
||||
|
@@ -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:
|
||||
|
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:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user