summaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <[email protected]>2015-12-18 23:49:50 +0100
committerMikkel Oscar Lyderik <[email protected]>2015-12-19 00:13:51 +0100
commit9d7f1afdfb62a5851a38c8add7d05ae45a87066a (patch)
tree8770c0a2cd74ec54a7b1f5b48e7610aff125ece7 /sway/config.c
parent73c8a484172e08a3d6ce4f32bde96642231908f9 (diff)
Add bar option: swaybar_command <command>
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 970225f4..32135286 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -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;