summaryrefslogtreecommitdiff
path: root/src/config.def.h
diff options
context:
space:
mode:
authorSadoon AlBader <sadoon@soulserv.xyz>2021-09-25 10:36:27 +0300
committerrafa_99 <raroma09@gmail.com>2021-10-15 23:08:29 +0100
commitceff22d28a8978bda732ad2b89839dd8e4c5eca0 (patch)
treeb07bd1079bea00273a08bf1b15e803c8a4b416f9 /src/config.def.h
parent0857582e39260728eb13b1d4d0d13d569accd85e (diff)
status bar settings now configurable with config.h
Diffstat (limited to 'src/config.def.h')
-rw-r--r--src/config.def.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config.def.h b/src/config.def.h
index a58e520..fd70a51 100644
--- a/src/config.def.h
+++ b/src/config.def.h
@@ -90,3 +90,14 @@
#define SETTING_DOWNLOAD_COMMAND "/bin/sh -c \"curl -sLJOC - -e '$neovimb_URI' %s\""
#define SETTING_HINT_KEYS "0123456789"
+
+/* These are the three settings displayed when "status-bar-show-settings" is enabled
+ * With booleans, please use GET_BOOL and append ( ? "on" : "off" )
+ * With integers, you could just print the value and use GET_INT
+ * Strings do not need any additional modifications, use GET_CHAR */
+#define STATUS_NAME1 "js"
+#define STATUS_TYPE1 GET_BOOL(c, "scripts") ? "on" : "off"
+#define STATUS_NAME2 "cookies"
+#define STATUS_TYPE2 GET_CHAR(c, "cookie-accept")
+#define STATUS_NAME3 "storage"
+#define STATUS_TYPE3 GET_BOOL(c, "html5-local-storage") ? "on" : "off"