aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar/icon_theme.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-12 20:19:54 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-12 20:19:54 -0400
commitcd1b32453a9296c18b28bff71607aeb22987b5cd (patch)
treec653c6d525b471914c01a9d7ae543f521b6138ed /sway/commands/bar/icon_theme.c
parent8e06985cc1b479724446fba752e0fecfb998e87b (diff)
parent5785170421dc38437acde8bb61068cd16fda716c (diff)
Merge branch 'wlroots'
Diffstat (limited to 'sway/commands/bar/icon_theme.c')
-rw-r--r--sway/commands/bar/icon_theme.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/sway/commands/bar/icon_theme.c b/sway/commands/bar/icon_theme.c
index cbfc0be5..44cd3076 100644
--- a/sway/commands/bar/icon_theme.c
+++ b/sway/commands/bar/icon_theme.c
@@ -3,23 +3,6 @@
#include "sway/commands.h"
struct cmd_results *bar_cmd_icon_theme(int argc, char **argv) {
- const char *cmd_name = "tray_output";
-#ifndef ENABLE_TRAY
- return cmd_results_new(CMD_INVALID, cmd_name, "Invalid %s command "
- "%s called, but sway was compiled without tray support",
- cmd_name, cmd_name);
-#else
- struct cmd_results *error = NULL;
- if ((error = checkarg(argc, cmd_name, EXPECTED_EQUAL_TO, 1))) {
- return error;
- }
-
- if (!config->current_bar) {
- return cmd_results_new(CMD_FAILURE, cmd_name, "No bar defined.");
- }
-
- config->current_bar->icon_theme = strdup(argv[0]);
-
- return cmd_results_new(CMD_SUCCESS, NULL, NULL);
-#endif
+ // TODO TRAY
+ return cmd_results_new(CMD_INVALID, "icon_theme", "TODO TRAY");
}