1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-06-11 03:06:07 +02:00

Update default swaybar command

Fixes #988
This commit is contained in:
Drew DeVault 2016-12-23 11:21:18 -05:00
parent 800d20611c
commit 36e48fcf8d

View File

@ -1285,7 +1285,7 @@ struct bar_config *default_bar_config(void) {
bar->outputs = NULL;
bar->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM;
if (!(bar->bindings = create_list())) goto cleanup;
if (!(bar->status_command = strdup("while :; do date +'%Y-%m-%d %l:%M:%S %p' && sleep 1; done"))) goto cleanup;
if (!(bar->status_command = strdup("while :; do date +'%Y-%m-%d %l:%M:%S %p'; sleep 1; done"))) goto cleanup;
bar->pango_markup = false;
bar->swaybar_command = NULL;
bar->font = NULL;