2020-11-01 14:37:45 +01:00
# Filesystem Widget
2020-02-17 01:44:03 +01:00
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
2020-11-01 14:37:45 +01:00
multiple mounts displayed on the wibar simply define multiple `fs_widgets`
2020-02-17 01:44:03 +01:00
with different mounts as arguments.
```lua
2020-11-01 14:37:45 +01:00
local fs_widget = require("awesome-wm-widgets.fs-widget.fs-widget")
2020-02-17 01:44:03 +01:00
...
s.mywibox:setup {
s.mytasklist, -- Middle widget
{ -- Right widgets
2020-11-01 14:37:45 +01:00
fs_widget(), --default
2020-02-17 01:44:03 +01:00
wibox.widget.textbox(':'),
2020-11-01 14:37:45 +01:00
fs_widget({ mounts = { '/', '/mnt/musicj' } }), -- multiple mounts
2020-02-17 01:44:03 +01:00
...
```
## Installation
Please refer to the [installation ](https://github.com/streetturtle/awesome-wm-widgets#installation ) section of the repo.