diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2020-02-17 21:24:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 21:24:40 -0500 |
commit | 572d2590ef6e0abe3f0005904ee30aa9c2da7912 (patch) | |
tree | 210a6a7f942723dfa6d59135452aca50679a08af /storage-widget/README.md | |
parent | 541f6edd54cf827fe23c576db03e5b96339999d1 (diff) | |
parent | d0de6acdd797c12af40bb79f69c3361c57ce8ee7 (diff) |
Merge pull request #117 from reppard/reppard/storage-widget
storage-widget: initial implementation
Diffstat (limited to 'storage-widget/README.md')
-rw-r--r-- | storage-widget/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/storage-widget/README.md b/storage-widget/README.md new file mode 100644 index 0000000..48d2ffe --- /dev/null +++ b/storage-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. |