X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/8291632c2a2cb6f7fb9bf329891643ff2846c7c7..c8ecdd6bdad3a258e878d955f029d2ba59abaa1c:/fs.md?ds=sidebyside diff --git a/fs.md b/fs.md index 0659682..ccb7386 100644 --- a/fs.md +++ b/fs.md @@ -1,3 +1,5 @@ +[<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets) + Shows disk space usage for a set partition. Displays a notification when the partition is full or has low space. @@ -10,7 +12,7 @@ Variable | Meaning | Type | Default --- | --- | --- | --- `partition` | Partition to monitor | string | "/" `refresh_timeout` | Refresh timeout seconds | int | 600 -`header` | Text to show before value | string | " Hdd " +`header` | Text to show before value | string | "Hdd " `header_color` | Header color | string | `beautiful.fg_normal` or "#FFFFFF" `color` | Value color | string | `beautiful.fg_focus` or "#FFFFFF" `footer` | Text to show after value | string | "%" @@ -20,12 +22,12 @@ Variable | Meaning | Type | Default `lain.widgets.fs` outputs the following table: -Variable | Type ---- | --- -`widget` | `wibox.widget.textbox` -`show` | function +Variable | Meaning | Type +--- | --- | --- +`widget` | The widget | `wibox.widget.textbox` +`show` | The notification | function -You can display a notification of current disk space usage with a key binding like this: +You can display the notification with a key binding like this: awful.key({ altkey }, "h", function () mypartition.show(7) end),