]> git.madduck.net Git - etc/awesome.git/blobdiff - fs.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Updated Widgets (markdown)
[etc/awesome.git] / fs.md
diff --git a/fs.md b/fs.md
index 6525e4192ead6b38e50745787d61ee7d248c7180..44be2b2689385d7c429eb99f0524955b329e4fa9 100644 (file)
--- 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
 
 `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: `used` and `available`, `size_mb`, `size_gb`.
 
 It can also use value strings in these formats:
 
 
 It can also use value strings in these formats:
 
@@ -23,11 +23,13 @@ It can also use value strings in these formats:
     fs_info[p .. "size_mb"]
     fs_info[p .. "size_gb"]
 
     fs_info[p .. "size_mb"]
     fs_info[p .. "size_gb"]
 
-where `p` is the last column of the output 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.
 
 
 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. 
+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:
+
+    notification_preset = { fg = beautiful.fg_normal }
 
 ### output table
 
 
 ### output table