From d543f7f9e2f6b79ca76b35efdd41327e936cfda9 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 13 Mar 2016 09:14:56 +1100 Subject: [PATCH] Update manpage and changelog --- 1.5.md | 9 +++++++++ neofetch | 4 ++-- neofetch.1 | 38 +++++++++++++++++++++++++++++++++++++- 3 files changed, 48 insertions(+), 3 deletions(-) diff --git a/1.5.md b/1.5.md index 77453257..abd9d018 100644 --- a/1.5.md +++ b/1.5.md @@ -3,6 +3,15 @@ - Changed default gap size to `2`. - Fixed bug where `i3` would show up as both a DE and a WM. +### Progress Bars + +![bars](https://ipfs.pics/ipfs/Qmbj8S7pi4CVw12XTawtRwRpLvkiZ9cxRxCUPMLQ1Nhhkb) + +- Added progress bar support to CPU, Memory, Disk, Battery. Thanks **[@iandrewt](https://github.com/iandrewt)** +- Added `cpu_display`, `memory_display`, `disk_display` and `battery_display` which allow you to customize
+where or if the progress bar will appear. + - Takes these values: `info`, `bar`, `infobar`, `barinfo` + ### OS - Added support for `SteamOS`. diff --git a/neofetch b/neofetch index 62811eb3..8d07d920 100755 --- a/neofetch +++ b/neofetch @@ -2489,8 +2489,8 @@ usage () { cat << EOF Progress Bars: --progress_char char Character to use when drawing progress bars. --progress_length num Length in spaces to make the progress bars. - --progress_colors num num Colors to make the progress bar. Set in this order: - elapsed, total + --progress_colors num num Colors to make the progress bar. + Set in this order: elapsed, total --cpu_display mode1 mode2 Which shorthand to use and how CPU usage should be printed mode1 takes: name, speed, tiny, on, off mode2 takes: info, bar, infobar, barinfo diff --git a/neofetch.1 b/neofetch.1 index d1693d49..99449f7c 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -112,6 +112,41 @@ Width of color blocks .B \--block_range 'start' 'end' Range of colors to print as blocks +.SH PROGRESS BARS +.TP +.B \--progress_char 'char' +Character to use when drawing progress bars. +.TP +.B \--progress_length 'num' +Length in spaces to make the progress bars. +.TP +.B \--progress_colors 'num' 'num' +Colors to make the progress bar. +.br +Set in this order: elapsed, total +.TP +.B \--cpu_display 'mode1' 'mode2' +Which shorthand to use and how CPU usage should be printed +.br +mode1 takes: name, speed, tiny, on, off +.br +mode2 takes: info, bar, infobar, barinfo +.TP +.B \--memory_display 'mode' +Which way should the memory progress bar be added +.br +Takes: bar, infobar, barinfo +.TP +.B \--battery_display 'mode' +Which way should the battery progress bar be added +.br +Takes: bar, infobar, barinfo +.TP +.B \--disk_display mode +Which way should the disk progress bar be added +.br +Takes: bar, infobar, barinfo + .SH IMAGE .TP .B \--image 'type' @@ -133,7 +168,8 @@ Where to display the image: (Left/Right) .TP .B \--crop_mode 'mode' Which crop mode to use -.br Takes the values: normal, fit, fill +.br +Takes the values: normal, fit, fill .TP .B \--crop_offset 'value' Change the crop offset for normal mode.