diff options
author | Sadoon AlBader <sadoon@soulserv.xyz> | 2021-09-25 10:36:27 +0300 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2021-10-15 23:08:29 +0100 |
commit | ceff22d28a8978bda732ad2b89839dd8e4c5eca0 (patch) | |
tree | b07bd1079bea00273a08bf1b15e803c8a4b416f9 /src/main.c | |
parent | 0857582e39260728eb13b1d4d0d13d569accd85e (diff) |
status bar settings now configurable with config.h
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -641,10 +641,10 @@ void vb_statusbar_update(Client *c) #endif if ( c->config.statusbar_show_settings ) { - /* show js, cookies, and local storage status */ - g_string_append_printf(status, " js: %s |", GET_BOOL(c, "scripts") ? "on" : "off"); - g_string_append_printf(status, " cookies: %s |", GET_CHAR(c, "cookie-accept") ); - g_string_append_printf(status, " storage: %s", GET_BOOL(c, "html5-local-storage") ? "on" : "off"); + /* show 3 user defined variables on statusbar. can add more by using same template */ + g_string_append_printf(status, " %s: %s |", STATUS_NAME1, STATUS_TYPE1 ); + g_string_append_printf(status, " %s: %s |", STATUS_NAME2, STATUS_TYPE2 ); + g_string_append_printf(status, " %s: %s |", STATUS_NAME3, STATUS_TYPE3 ); } /* show the scroll status */ |