Show how one can require the widget from a git submodule

This commit is contained in:
Stefano Mazzucco 2017-07-20 22:41:30 +01:00
parent dd9f578048
commit f3a3300259
1 changed files with 5 additions and 0 deletions

View File

@ -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