summaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 08d3f09d..11284577 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -2768,10 +2768,10 @@ static struct cmd_results *bar_cmd_pango_markup(int argc, char **argv) {
2768 return cmd_results_new(CMD_FAILURE, "pango_markup", "No bar defined."); 2768 return cmd_results_new(CMD_FAILURE, "pango_markup", "No bar defined.");
2769 } 2769 }
2770 2770
2771 if (strcasecmp("pango", argv[0]) == 0) { 2771 if (strcasecmp("enabled", argv[0]) == 0) {
2772 config->current_bar->pango_markup = true; 2772 config->current_bar->pango_markup = true;
2773 sway_log(L_DEBUG, "Enabling pango markup for bar: %s", config->current_bar->id); 2773 sway_log(L_DEBUG, "Enabling pango markup for bar: %s", config->current_bar->id);
2774 } else if (strcasecmp("none", argv[0]) == 0) { 2774 } else if (strcasecmp("disabled", argv[0]) == 0) {
2775 config->current_bar->pango_markup = false; 2775 config->current_bar->pango_markup = false;
2776 sway_log(L_DEBUG, "Disabling pango markup for bar: %s", config->current_bar->id); 2776 sway_log(L_DEBUG, "Disabling pango markup for bar: %s", config->current_bar->id);
2777 } else { 2777 } else {