summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-03-29 11:17:19 +0100
committerDave Davenport <qball@gmpclient.org>2019-03-29 11:24:10 +0100
commitfadfae5433670da704f8bfac7687532a008867b9 (patch)
tree7289f765cf2607fc83362ea2f20b0301db6cedca
parent855fb4e22afd3e2cb86e313b55b958e9208d02f3 (diff)
[Window] Fix default value and help comment.
-rw-r--r--config/config.c2
-rw-r--r--doc/test_xr.txt6
-rw-r--r--source/xrmoptions.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/config/config.c b/config/config.c
index 68201147..ce6fc1c6 100644
--- a/config/config.c
+++ b/config/config.c
@@ -143,7 +143,7 @@ Settings config = {
.scroll_method = 0,
.scrollbar_width = 8,
.fake_background = "screenshot",
- .window_format = "{w} {i}{c} {t}",
+ .window_format = "{w} {c} {t}",
.click_to_exit = TRUE,
.show_match = TRUE,
.theme = NULL,
diff --git a/doc/test_xr.txt b/doc/test_xr.txt
index 9cdae123..fbeca56a 100644
--- a/doc/test_xr.txt
+++ b/doc/test_xr.txt
@@ -98,10 +98,10 @@ rofi.threads: 8
! rofi.scrollbar-width: 8
! "Scrolling method. (0: Page, 1: Centered)" Set from: File
rofi.scroll-method: 0
-! "Background to use for fake transparency. (background or screenshot)" Set from: Default
+! "Background to use for fake transparency. (background or screenshot) *DEPRECATED*" Set from: Default
! rofi.fake-background: screenshot
-! "Window Format. w (desktop name), t (title), n (name), r (role), c (class) *DEPRECATED*" Set from: Default
-! rofi.window-format: {w} {i}{c} {t}
+! "Window Format. w (desktop name), t (title), n (name), r (role), c (class)" Set from: Default
+! rofi.window-format: {w} {c} {t}
! "Click outside the window to exit" Set from: Default
! rofi.click-to-exit: true
! "Indicate how it match by underlining it." Set from: Default
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 485acc41..fde3fa2a 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -195,9 +195,9 @@ static XrmOption xrmOptions[] = {
{ 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,
- "Background to use for fake transparency. (background or screenshot)", CONFIG_DEFAULT },
+ "Background to use for fake transparency. (background or screenshot) *DEPRECATED*", CONFIG_DEFAULT },
{ xrm_String, "window-format", { .str = &config.window_format }, NULL,
- "Window Format. w (desktop name), t (title), n (name), r (role), c (class) *DEPRECATED*", CONFIG_DEFAULT },
+ "Window Format. w (desktop name), t (title), n (name), r (role), c (class)", CONFIG_DEFAULT },
{ xrm_Boolean, "click-to-exit", { .snum = &config.click_to_exit }, NULL,
"Click outside the window to exit", CONFIG_DEFAULT },
{ xrm_Boolean, "show-match", { .snum = &config.show_match }, NULL,