From 2e51c26322fd124d56e79590980eda8c1baeb1b6 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sat, 22 Feb 2020 13:50:30 -0500 Subject: [fs-widget] rename storage to fs --- fs-widget/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 fs-widget/README.md (limited to 'fs-widget/README.md') diff --git a/fs-widget/README.md b/fs-widget/README.md new file mode 100644 index 0000000..48d2ffe --- /dev/null +++ b/fs-widget/README.md @@ -0,0 +1,24 @@ +# Storage Widget + +This widget shows disk usage. When clicked another widget appears with more detailed information. By default it monitors the "/" mount. It can be configured with a +list of mounts to monitor though only the first will show in the wibar. To have +multiple mounts displayed on the wibar simply define multiple `storage_widgets` +with different mounts as arguments. + + +```lua + local storage_widget = require("awesome-wm-widgets.storage-widget.storage-widget") + ... + s.mywibox:setup { + s.mytasklist, -- Middle widget + { -- Right widgets + storage_widget(), --default + wibox.widget.textbox(':'), + storage_widget({ mounts = { '/', '/mnt/musicj' } }), -- multiple mounts + ... + +``` + +## Installation + +Please refer to the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo. -- cgit v1.2.3