X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/606d4f06d03290070c8bfa3cff50b15218c76b88..6aa59744be6a40d589d51e3dc605aec934afb166:/fs.md diff --git a/fs.md b/fs.md index 883008d..1e34f86 100644 --- a/fs.md +++ b/fs.md @@ -14,7 +14,7 @@ Variable | Meaning | Type | Default `partition` | Partition to monitor | string | "/" `settings` | User settings | function | empty function -`settings` can use the following `partition` related value strings: `used`, `available`, `size_mb`, `size_gb`. +`settings` can use the following `partition` related float values: `fs_now.used`, `fs_now.available`, `fs_now.size_mb`, `fs_now.size_gb`. It can also use value strings in these formats: @@ -23,13 +23,13 @@ It can also use value strings in these formats: fs_info[p .. "size_mb"] fs_info[p .. "size_gb"] -where `p` is the last column of `df` ("/", "/home", "/boot", ...). +where `p` is the last column of `df` command ("/", "/home", "/boot", ...). This means you can set the widget for a certain partition, but you can look up at others too. -Finally, `settings` can modify `notification_preset` table too. This table will be the preset for the naughty notifications. Check [here](http://awesome.naquadah.org/doc/api/modules/naughty.html#notify) for the list of variables it can contain. Default definition: +Finally, `settings` can modify `fs_notification_preset` table too. This table will be the preset for the naughty notifications. Check [here](http://awesome.naquadah.org/doc/api/modules/naughty.html#notify) for the list of variables it can contain. Default definition: - notification_preset = { fg = beautiful.fg_normal } + fs_notification_preset = { fg = beautiful.fg_normal } ### output table