Update manpage and changelog

This commit is contained in:
Dylan 2016-03-13 09:14:56 +11:00
parent 8b68675e1b
commit d543f7f9e2
3 changed files with 48 additions and 3 deletions

9
1.5.md
View File

@ -3,6 +3,15 @@
- Changed default gap size to `2`. - Changed default gap size to `2`.
- Fixed bug where `i3` would show up as both a DE and a WM. - 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<br \>
where or if the progress bar will appear.
- Takes these values: `info`, `bar`, `infobar`, `barinfo`
### OS ### OS
- Added support for `SteamOS`. - Added support for `SteamOS`.

View File

@ -2489,8 +2489,8 @@ usage () { cat << EOF
Progress Bars: Progress Bars:
--progress_char char Character to use when drawing progress bars. --progress_char char Character to use when drawing progress bars.
--progress_length num Length in spaces to make the 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: --progress_colors num num Colors to make the progress bar.
elapsed, total Set in this order: elapsed, total
--cpu_display mode1 mode2 Which shorthand to use and how CPU usage should be printed --cpu_display mode1 mode2 Which shorthand to use and how CPU usage should be printed
mode1 takes: name, speed, tiny, on, off mode1 takes: name, speed, tiny, on, off
mode2 takes: info, bar, infobar, barinfo mode2 takes: info, bar, infobar, barinfo

View File

@ -112,6 +112,41 @@ Width of color blocks
.B \--block_range 'start' 'end' .B \--block_range 'start' 'end'
Range of colors to print as blocks 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 .SH IMAGE
.TP .TP
.B \--image 'type' .B \--image 'type'
@ -133,7 +168,8 @@ Where to display the image: (Left/Right)
.TP .TP
.B \--crop_mode 'mode' .B \--crop_mode 'mode'
Which crop mode to use Which crop mode to use
.br Takes the values: normal, fit, fill .br
Takes the values: normal, fit, fill
.TP .TP
.B \--crop_offset 'value' .B \--crop_offset 'value'
Change the crop offset for normal mode. Change the crop offset for normal mode.