Merge pull request #359 from mikkeloscar/i3bar-command

Add bar option: swaybar_command <command>
This commit is contained in:
Drew DeVault 2015-12-18 18:19:59 -05:00
commit b9f14cee41
3 changed files with 21 additions and 0 deletions

View file

@ -673,6 +673,7 @@ struct bar_config *default_bar_config(void) {
bar->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM;
bar->bindings = create_list();
bar->status_command = strdup("while :; do date +'%Y-%m-%d %l:%M:%S %p' && sleep 1; done");
bar->swaybar_command = NULL;
bar->font = strdup("monospace 10");
bar->height = -1;
bar->workspace_buttons = true;