aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-04-24 20:39:41 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2016-04-24 20:39:41 +0300
commit09d69f606a49d784ae3c11c927d1bfbba77b1f55 (patch)
tree2364d4662a641f368d83494aa03b6b0879e97ca8 /sway
parent0f1cfdec617d122afbc87eb6466d5d2e5c348259 (diff)
Renamed pango_markup config options
Diffstat (limited to 'sway')
-rw-r--r--sway/commands.c4
-rw-r--r--sway/sway-bar.5.txt2
2 files changed, 3 insertions, 3 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) {
return cmd_results_new(CMD_FAILURE, "pango_markup", "No bar defined.");
}
- if (strcasecmp("pango", argv[0]) == 0) {
+ if (strcasecmp("enabled", argv[0]) == 0) {
config->current_bar->pango_markup = true;
sway_log(L_DEBUG, "Enabling pango markup for bar: %s", config->current_bar->id);
- } else if (strcasecmp("none", argv[0]) == 0) {
+ } else if (strcasecmp("disabled", argv[0]) == 0) {
config->current_bar->pango_markup = false;
sway_log(L_DEBUG, "Disabling pango markup for bar: %s", config->current_bar->id);
} else {
diff --git a/sway/sway-bar.5.txt b/sway/sway-bar.5.txt
index 25b59946..30c7d9bf 100644
--- a/sway/sway-bar.5.txt
+++ b/sway/sway-bar.5.txt
@@ -21,7 +21,7 @@ Commands
**status_command** <status command>::
Executes the bar _status command_ with _sh -c_.
-**pango_markup** <pango|none>::
+**pango_markup** <enabled|disabled>::
Enables or disables pango markup for plaintext statuslines.
**id** <bar_id>::