src | ||
.gitignore | ||
CMakeLists.txt | ||
README.md |
colordf
This is a colored and configurable version of df, forked from cdf.
The df program show information about the file system as size, type, mount point, etc.
Config Options
colordf support some config options using a config file named:
~/.config/colordf.conf
default config (special value default
uses the current terminal config):
gauge_symbol=▮
human_readable=0
bracket_color=blue
bracket_background=default
gauge_color=red
gauge_background=default
header_color=light_yellow
header_background=blue
fs_color=yellow
fs_background=default
data_color=default
data_background=default
perc_color=cyan
prec_background=default
colors available to use with the above options:
normal colours | light colours | special colours |
---|---|---|
\color{black}\textsf{black} |
||
\color{red}\textsf{red} |
\color{#ff4d4d}\textsf{light\_red} |
\color{#FF1493}\textsf{pink} |
\color{green}\textsf{green} |
\color{#7FFF00}\textsf{light\_green} |
\color{#DDA0DD}\textsf{rose} |
\color{#D2691E}\textsf{yellow} |
\color{yellow}\textsf{light\_yellow} |
\color{orange}\textsf{orange} |
\color{#00008B}\textsf{blue} |
\color{blue}\textsf{light\_blue} |
\color{#9400D3}\textsf{purple} |
\color{#8B008B}\textsf{magenta} |
\color{magenta}\textsf{light\_magenta} |
\color{#6600cc}\textsf{violet} |
\color{#008B8B}\textsf{cyan} |
\color{cyan}\textsf{light\_cyan} |
|
\color{gray}\textsf{gray} |
\color{#A9A9A9}\textsf{light\_gray} |
|
\color{white}\textsf{white} |
Command Line Interface
ColorDF v1.1.0 <yoru@serialexperiments.club> 2024
Options:
-B, --block-size=[size] set the blocksize
-k use 1K blocksize
-m use 1M blocksize
-g use 1G blocksize
-h, --human-readable human-readable output
-t, --fstype=[type] show only filesystems of specified type
-a, --show-pseudofs show pseudofs
-v, --version print version and exit
-H, --help print this text and exit
You can request improvements and/or new features at https://git.serialexperiments.club/yoru/colordf/issues
The colordf is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
The colordf is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Sōon Yoru yoru@serialexperiments.club 2015 ~ 2024