Add bar option: swaybar_command <command>

This commit is contained in:
Mikkel Oscar Lyderik 2015-12-18 23:49:50 +01:00
parent 73c8a48417
commit 9d7f1afdfb
3 changed files with 21 additions and 0 deletions

View file

@ -610,6 +610,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;