-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Enhancement request: It would be nice to have a -w (--width) argument to manually set the width of the graph bar to n characters. When piping the output of pydf to grep, the graph bar becomes very narrow, so this option would let us widen the graph bar when using pydf in conjunction with grep.
Example from Ubuntu, the graph bar is only 5 characters wide, 7 including the square brackets. There's plenty of room on my terminal for a wider graph bar. I would like to use the option to set the width to 15-20 characters, including the square brackets.
$ pydf | egrep -v "/loop|/snap"
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 107G 39G 64G 36.4 [##...] /
/dev/sda1 3764M 193M 3360M 5.1 [.....] /boot
/dev/sdb1 2015G 23G 1889G 1.2 [.....] /home
kirk 2748G 1962G 786G 71.4 [####.] /kirk
picard 5545G 3181G 2363G 57.4 [###..] /picard
spock 5542G 3481G 2062G 62.8 [###..] /spock
Metadata
Metadata
Assignees
Labels
No labels