Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't start with default config #2

Open
keithbowes opened this issue Sep 11, 2017 · 0 comments
Open

Doesn't start with default config #2

keithbowes opened this issue Sep 11, 2017 · 0 comments

Comments

@keithbowes
Copy link

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 lambdas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant