awesome-wm-widgets/fs-widget
streetturtle 3756d3af4f
Merge pull request #208 from floli/improve-fs-widget
Improve fs widget
2020-11-10 16:30:56 -05:00
..
README.md Fix fs-widget README. 2020-11-01 14:37:45 +01:00
fs-widget.lua Remove explicit setting of bg color. 2020-11-10 22:07:20 +01:00
out.gif [fs-widget] rename storage to fs 2020-02-22 13:50:30 -05:00

README.md

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.

  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 section of the repo.