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
1.6.md
3
1.6.md
|
@ -30,6 +30,9 @@ Thanks to the following people for contributing this release.
|
||||||
**Song**<br \>
|
**Song**<br \>
|
||||||
- [ MPD ] Fixed function when mpd is running on another PC and not your own.
|
- [ 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 \>
|
**Uptime**<br \>
|
||||||
- [ OSX ] Performance improvements. **[@iandrewt](https://github.com/iandrewt)**
|
- [ 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
|
--battery_display mode Which way should the battery progress bar be added
|
||||||
Takes bar, infobar, barinfo
|
Takes bar, infobar, barinfo
|
||||||
--disk_display mode Which way should the disk progress bar be added
|
--disk_display mode Which way should the disk progress bar be added
|
||||||
Takes bar, infobar, barinfo
|
Takes bar, infobar, barinfo, perc
|
||||||
|
|
||||||
|
|
||||||
Image:
|
Image:
|
||||||
|
|
3
neofetch
3
neofetch
|
@ -1537,6 +1537,7 @@ getdisk () {
|
||||||
"bar") disk="$(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
"bar") disk="$(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
||||||
"infobar") disk+=" $(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
"infobar") disk+=" $(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
||||||
"barinfo") disk="$(bar "${disk_used/'.'*}" "${disk_total/'.'*}") $disk" ;;
|
"barinfo") disk="$(bar "${disk_used/'.'*}" "${disk_total/'.'*}") $disk" ;;
|
||||||
|
"perc") disk="$disk_total_per $(bar "${disk_used/'.'*}" "${disk_total/'.'*}")" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2554,7 +2555,7 @@ usage () { cat << EOF
|
||||||
--battery_display mode Which way should the battery progress bar be added
|
--battery_display mode Which way should the battery progress bar be added
|
||||||
Takes bar, infobar, barinfo
|
Takes bar, infobar, barinfo
|
||||||
--disk_display mode Which way should the disk progress bar be added
|
--disk_display mode Which way should the disk progress bar be added
|
||||||
Takes bar, infobar, barinfo
|
Takes bar, infobar, barinfo, perc
|
||||||
|
|
||||||
|
|
||||||
Image:
|
Image:
|
||||||
|
|
|
@ -151,7 +151,7 @@ Takes: bar, infobar, barinfo
|
||||||
.B \--disk_display mode
|
.B \--disk_display mode
|
||||||
Which way should the disk progress bar be added
|
Which way should the disk progress bar be added
|
||||||
.br
|
.br
|
||||||
Takes: bar, infobar, barinfo
|
Takes: bar, infobar, barinfo, perc
|
||||||
|
|
||||||
.SH IMAGE
|
.SH IMAGE
|
||||||
.TP
|
.TP
|
||||||
|
|
Loading…
Reference in a new issue