summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2021-06-08 23:04:19 +0200
committerDave Davenport <qball@blame.services>2021-06-08 23:04:19 +0200
commite0a3067f693c4aef0f1a6c75f93b737c020a6c71 (patch)
tree3575dbf4cb6d009a9c46fdac9b787ffc714a4a48
parentd4a73278f24be5ccdcdca31ac1cba4afc0befcf3 (diff)
[Config] Remove old unused options.
-rw-r--r--config/config.c5
-rw-r--r--include/settings.h5
-rw-r--r--source/xrmoptions.c6
3 files changed, 0 insertions, 16 deletions
diff --git a/config/config.c b/config/config.c
index b5f40d2e..a11b3056 100644
--- a/config/config.c
+++ b/config/config.c
@@ -127,15 +127,10 @@ Settings config = {
.monitor = "-5",
/** Set filter */
.filter = NULL,
- /** Separator style: dash/solid */
- .separator_style = "dash",
- /** Hide scrollbar */
- .hide_scrollbar = FALSE,
.fake_transparency = FALSE,
.dpi = -1,
.threads = 0,
.scroll_method = 0,
- .scrollbar_width = 8,
.fake_background = "screenshot",
.window_format = "{w} {c} {t}",
.click_to_exit = TRUE,
diff --git a/include/settings.h b/include/settings.h
index d70359b5..f37ed9e6 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -146,10 +146,6 @@ typedef struct
char *monitor;
/** filter */
char *filter;
- /** style */
- char *separator_style;
- /** hide scrollbar */
- unsigned int hide_scrollbar;
/** bg image */
unsigned int fake_transparency;
/** dpi */
@@ -157,7 +153,6 @@ typedef struct
/** Number threads (1 to disable) */
unsigned int threads;
unsigned int scroll_method;
- unsigned int scrollbar_width;
/** Background type */
char *fake_background;
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index fcacc69b..0e89c003 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -170,18 +170,12 @@ static XrmOption xrmOptions[] = {
"Monitor id to show on", CONFIG_DEFAULT },
{ xrm_String, "filter", { .str = &config.filter }, NULL,
"Pre-set filter", CONFIG_DEFAULT },
- { xrm_String, "separator-style", { .str = &config.separator_style }, NULL,
- "Separator style (none, dash, solid) *DEPRECATED*", CONFIG_DEFAULT },
- { xrm_Boolean, "hide-scrollbar", { .num = &config.hide_scrollbar }, NULL,
- "Hide scroll-bar *DEPRECATED*", CONFIG_DEFAULT },
{ xrm_Boolean, "fake-transparency", { .num = &config.fake_transparency }, NULL,
"Fake transparency *DEPRECATED*", CONFIG_DEFAULT },
{ xrm_SNumber, "dpi", { .snum = &config.dpi }, NULL,
"DPI", CONFIG_DEFAULT },
{ xrm_Number, "threads", { .num = &config.threads }, NULL,
"Threads to use for string matching", CONFIG_DEFAULT },
- { xrm_Number, "scrollbar-width", { .num = &config.scrollbar_width }, NULL,
- "Scrollbar width *DEPRECATED*", CONFIG_DEFAULT },
{ xrm_Number, "scroll-method", { .num = &config.scroll_method }, NULL,
"Scrolling method. (0: Page, 1: Centered)", CONFIG_DEFAULT },
{ xrm_String, "fake-background", { .str = &config.fake_background }, NULL,