This module prints some information about your disks on the modeline.
Put:
(ql:quickload "cl-diskspace")
;; on GNU/linux only
(ql:quickload "cl-mount-info")
Put:
(load-module "disk")
into your ~~/.stumpwmrc~
Then you can use “%D” in your mode line format.
Filesystem(s) to be displayed can be customized by modifying the
*disk-usage-paths*
list.
You can customize the modeline format (*disk-modeline-fmt*
).
The default value for displaying disk usage information on the modeline.
Code | Result |
---|---|
%% | A literal ‘%’ |
%d | Filesystem device |
%s | Filesystem size |
%u | Filesystem used space |
%a | Filesystem available space |
%p | Filesystem used space in percent |
%m | Filesystem mount point |
%f | Filesystem type |
This module will fallback on an external shell process on non GNU/Linux platform