summaryrefslogtreecommitdiff
path: root/fs-widget/README.md
blob: 5cda04849940ddd9b5cddef2af5d3b07f8874531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Filesystem 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 `fs_widgets`
with different mounts as arguments.


```lua
  local fs_widget = require("awesome-wm-widgets.fs-widget.fs-widget")
  ...
  s.mywibox:setup {
      s.mytasklist, -- Middle widget
      { -- Right widgets
      fs_widget(), --default
      wibox.widget.textbox(':'),
      fs_widget({ mounts = { '/', '/mnt/musicj' } }), -- multiple mounts
  ...

```

## Installation

Please refer to the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo.