Skip to content

Doesn't start with default config #2

@keithbowes

Description

@keithbowes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions