aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 5372d3e9..b9cc1a69 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1600,6 +1600,7 @@ static struct cmd_results *bar_cmd_tray_padding(int argc, char **argv) {
1600 "Unknown unit %s", argv[1]); 1600 "Unknown unit %s", argv[1]);
1601 } 1601 }
1602 config->current_bar->tray_padding = padding; 1602 config->current_bar->tray_padding = padding;
1603 sway_log(L_DEBUG, "Enabling tray padding of %d px", padding);
1603 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 1604 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
1604} 1605}
1605 1606
@@ -1615,8 +1616,10 @@ static struct cmd_results *bar_cmd_workspace_buttons(int argc, char **argv) {
1615 1616
1616 if (strcasecmp("yes", argv[0]) == 0) { 1617 if (strcasecmp("yes", argv[0]) == 0) {
1617 config->current_bar->workspace_buttons = true; 1618 config->current_bar->workspace_buttons = true;
1619 sway_log(L_DEBUG, "Enabling workspace buttons on bar");
1618 } else if (strcasecmp("no", argv[0]) == 0) { 1620 } else if (strcasecmp("no", argv[0]) == 0) {
1619 config->current_bar->workspace_buttons = false; 1621 config->current_bar->workspace_buttons = false;
1622 sway_log(L_DEBUG, "Disabling workspace buttons on bar");
1620 } else { 1623 } else {
1621 error = cmd_results_new(CMD_INVALID, "workspace_buttons", "Invalid value %s", argv[0]); 1624 error = cmd_results_new(CMD_INVALID, "workspace_buttons", "Invalid value %s", argv[0]);
1622 return error; 1625 return error;