change key for statusbar position config
This commit is contained in:
parent
6a11f10764
commit
c5211cc8d1
|
@ -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
|
||||
|
|
4
config.c
4
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;
|
||||
|
|
Loading…
Reference in New Issue