-
Notifications
You must be signed in to change notification settings - Fork 0
Doesn't start with default config #2
Copy link
Copy link
Open
Description
All that happens is you get an error on stderr about receiving a string instead of a table. Anyway, here's the patch to fix it:
diff --git a/config/config.lua b/config/config.lua
index 433f910..eaf2bbf 100644
--- a/config/config.lua
+++ b/config/config.lua
@@ -101,17 +101,17 @@ bar = {
-- modifiers: shift, super, alt, ctrl, caps, mod2, mod3, mod5
modkey = "super"
-dmenu = {"dmenu_run"}
+dmenu = "dmenu_run"
terminal = os.getenv("TERMINAL")
if not terminal then
- terminal = {"urxvt"}
+ terminal = "urxvt"
end
keys = {
-- application shortcuts
- {"spawn", {modkey}, "Return", terminal},
- {"spawn", {modkey}, "d", dmenu},
+ {"spawn", {modkey}, "Return", {terminal}},
+ {"spawn", {modkey}, "d", {dmenu}},
-- bindings to lua functions: a function with no arguments is expected.
-- wrap functions with arguments in lambdasReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels