]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/include/workspaces.h
i3bar: implement custom workspace numbers config
[i3/i3] / i3bar / include / workspaces.h
index 9e9ecbba817da480d2fe96afb3f42f40987786a9..d3d23c8422decde8d6e332fe15bae67533c8f384 100644 (file)
@@ -31,7 +31,8 @@ void free_workspaces(void);
 
 struct i3_ws {
     int                num;         /* The internal number of the ws */
-    i3String           *name;       /* The name of the ws */
+    char          *canonical_name;  /* The true name of the ws according to the ipc */
+    i3String           *name;       /* The name of the ws that is displayed on the bar */
     int                name_width;  /* The rendered width of the name */
     bool               visible;     /* If the ws is currently visible on an output */
     bool               focused;     /* If the ws is currently focused */