Summary Files Commits Branches @commit @diff @stats
path: root / config.h
diff options
context:
space:
mode:
1 files changed, 12 insertions, 0 deletions
-rw-r--r--config.h12
diff --git a/config.h b/config.h
index 64fa5d6..9202a1e 100644
--- a/config.h
+++ b/config.h
@@ -8,6 +8,18 @@
*/
#define BADWOLF_TAB_POSITION GTK_POS_TOP
+// BADWOLF_TAB_LABEL_CHARWIDTH: Amount of characters the tab label text fits
+#define BADWOLF_TAB_LABEL_CHARWIDTH 26
+
+/* BADWOLF_TAB_LABEL_ELLIPSIZE: pango ellipsize mode of the tab label text, can be one of:
+ * - PANGO_ELLIPSIZE_NONE
+ * - PANGO_ELLIPSIZE_START
+ * - PANGO_ELLIPSIZE_MIDDLE
+ * - PANGO_ELLIPSIZE_END
+ *
+ * See https://developer.gnome.org/pango/stable/pango-Layout-Objects.html#PangoEllipsizeMode
+ */
+
// BADWOLF_BOX_PADDING: Amount of padding between browser’s box (tab child) elements
#define BADWOLF_BOX_PADDING 0