From f3a3300259a6ccd067d0e2bbcf84de1892f7e1b1 Mon Sep 17 00:00:00 2001 From: Stefano Mazzucco Date: Thu, 20 Jul 2017 22:41:30 +0100 Subject: [PATCH] Show how one can require the widget from a git submodule --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 021eb7b..a5487e5 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,13 @@ repository). For **Awesome 4.x**, add the following to your `~/.config/awesome/rc.lua`: ``` lua +-- If you just copied the file in ~/.config/awesome local capslock = require("capslock") +-- If you cloned the repo as a submodule in +-- ~/.config/awesome/external/capslock +-- local capslock = require("external.capslock.capslock") + -- more config here -- Add widgets to the wibox