]> git.madduck.net Git - etc/awesome.git/commitdiff

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 calendar (markdown)
authorLuke Bonham <dadasignificanulla@gmail.com>
Sat, 7 Sep 2013 23:20:57 +0000 (16:20 -0700)
committercopycat-killer <dada@archlinux.info>
Wed, 5 Aug 2015 11:30:33 +0000 (13:30 +0200)
calendar.md

index 182c8059a213943a462bc510d1fa9e77876ebe67..1d63a65e3c9ddff40d0b452ec86debd73d1da73a 100644 (file)
@@ -1,11 +1,11 @@
 Attaches a calendar notification to a widget.
 
 Attaches a calendar notification to a widget.
 
-    lain.widgets.calendar:attach(mywidget)
+    lain.widgets.calendar:attach(widget)
 
 - Left click: switch to previous month.
 - Right click: switch to next month.
 
 
 - Left click: switch to previous month.
 - Right click: switch to next month.
 
-Optionally you can call the function with background and foreground colors arguments, both or just one:
+Optionally you can call the function with bg and fg colors arguments, both or just one:
 
     lain.widgets.calendar:attach(mytextclock, "#FFFFFF", "#000000")
     -- or
 
     lain.widgets.calendar:attach(mytextclock, "#FFFFFF", "#000000")
     -- or
@@ -13,6 +13,8 @@ Optionally you can call the function with background and foreground colors argum
     -- or
     lain.widgets.calendar:attach(mytextclock, nil, "#000000")
 
     -- or
     lain.widgets.calendar:attach(mytextclock, nil, "#000000")
 
+default bg and fg colors are `beautiful.bg_normal` and `beautiful.fg_focus`.
+
 Notification will show an icon displaying current day, and formatted output
 from ``cal`` with current day highlighted.
 
 Notification will show an icon displaying current day, and formatted output
 from ``cal`` with current day highlighted.