* It is not planned to add any different focus models. */
bool disable_focus_follows_mouse;
+ /** By default, a workspace bar is drawn at the bottom of the screen.
+ * If you want to have a more fancy bar, it is recommended to replace
+ * the whole bar by dzen2, for example using the i3-wsbar script which
+ * comes with i3. Thus, you can turn it off entirely. */
+ bool disable_workspace_bar;
+
const char *default_border;
/** The modifier which needs to be pressed in combination with your mouse
new_container { return TOKNEWCONTAINER; }
new_window { return TOKNEWWINDOW; }
focus_follows_mouse { return TOKFOCUSFOLLOWSMOUSE; }
+workspace_bar { return TOKWORKSPACEBAR; }
default { yylval.number = MODE_DEFAULT; return TOKCONTAINERMODE; }
stacking { yylval.number = MODE_STACK; return TOKCONTAINERMODE; }
tabbed { yylval.number = MODE_TABBED; return TOKCONTAINERMODE; }
%token TOKNEWCONTAINER "new_container"
%token TOKNEWWINDOW "new_window"
%token TOKFOCUSFOLLOWSMOUSE "focus_follows_mouse"
+%token TOKWORKSPACEBAR "workspace_bar"
%token TOKCONTAINERMODE "default/stacking/tabbed"
%token TOKSTACKLIMIT "stack-limit"
| new_container
| new_window
| focus_follows_mouse
+ | workspace_bar
| workspace
| assign
| ipcsocket
}
;
+workspace_bar:
+ TOKWORKSPACEBAR WHITESPACE bool
+ {
+ DLOG("workspace bar = %d\n", $<number>3);
+ config.disable_workspace_bar = !($<number>3);
+ }
+ ;
+
workspace:
TOKWORKSPACE WHITESPACE NUMBER WHITESPACE TOKOUTPUT WHITESPACE OUTPUT optional_workspace_name
{