Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.22 KB

README.org

File metadata and controls

49 lines (36 loc) · 1.22 KB

Intro

This module prints some information about your disks on the modeline.

Dependency

Put:

(ql:quickload "cl-diskspace")
;; on GNU/linux only
(ql:quickload "cl-mount-info")

Usage

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.

CodeResult
%%A literal ‘%’
%dFilesystem device
%sFilesystem size
%uFilesystem used space
%aFilesystem available space
%pFilesystem used space in percent
%mFilesystem mount point
%fFilesystem type

Known issues

This module will fallback on an external shell process on non GNU/Linux platform