]> git.sur5r.net Git - i3/i3/blobdiff - src/commands.c
Added command directive 'title_format'.
[i3/i3] / src / commands.c
index 44b910ec40ba67960d008e1b069ff0cd30f59100..3790f50f0d5d3969013679feb06358fc6fdb1f25 100644 (file)
@@ -1899,6 +1899,17 @@ void cmd_scratchpad_show(I3_CMD) {
     ysuccess(true);
 }
 
+/*
+ * Implementation of 'title_format <format>'
+ *
+ */
+void cmd_title_format(I3_CMD, char *format) {
+    DLOG("setting title_format to %s\n", format);
+
+    cmd_output->needs_tree_render = true;
+    ysuccess(true);
+}
+
 /*
  * Implementation of 'rename workspace [<name>] to <name>'
  *