diff --git a/awesomerc b/awesomerc index 4c453c9c..4f758381 100644 --- a/awesomerc +++ b/awesomerc @@ -2,8 +2,8 @@ awesome: { - # Default bar position - barpos = "BarTop"; + # Default bar position: top, bottom, off + barpos = "top"; # Window border size borderpx = 1; # Window snap pixels diff --git a/config.c b/config.c index 55aa8310..3a4b08d1 100644 --- a/config.c +++ b/config.c @@ -311,9 +311,9 @@ parse_config(Display * disp, int scr, DC * drawcontext, awesome_config *awesomec /* barpos */ tmp = config_lookup_string(&awesomelibconf, "awesome.barpos"); - if(tmp && !strncmp(tmp, "BarOff", 6)) + if(tmp && !strncmp(tmp, "off", 6)) awesomeconf->statusbar_default_position = BarOff; - else if(tmp && !strncmp(tmp, "BarBot", 6)) + else if(tmp && !strncmp(tmp, "bottom", 6)) awesomeconf->statusbar_default_position = BarBot; else awesomeconf->statusbar_default_position = BarTop;