Show how one can require the widget from a git submodule
This commit is contained in:
parent
dd9f578048
commit
f3a3300259
|
@ -19,8 +19,13 @@ repository).
|
||||||
For **Awesome 4.x**, add the following to your `~/.config/awesome/rc.lua`:
|
For **Awesome 4.x**, add the following to your `~/.config/awesome/rc.lua`:
|
||||||
|
|
||||||
``` lua
|
``` lua
|
||||||
|
-- If you just copied the file in ~/.config/awesome
|
||||||
local capslock = require("capslock")
|
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
|
-- more config here
|
||||||
|
|
||||||
-- Add widgets to the wibox
|
-- Add widgets to the wibox
|
||||||
|
|
Loading…
Reference in New Issue