mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
Renamed pango_markup config options
This commit is contained in:
parent
0f1cfdec61
commit
09d69f606a
2 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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>::
|
||||
|
|
Loading…
Reference in a new issue