1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

[Window] Fix default value and help comment.

This commit is contained in:
Dave Davenport 2019-03-29 11:17:19 +01:00
parent 855fb4e22a
commit fadfae5433
3 changed files with 6 additions and 6 deletions

View file

@ -143,7 +143,7 @@ Settings config = {
.scroll_method = 0, .scroll_method = 0,
.scrollbar_width = 8, .scrollbar_width = 8,
.fake_background = "screenshot", .fake_background = "screenshot",
.window_format = "{w} {i}{c} {t}", .window_format = "{w} {c} {t}",
.click_to_exit = TRUE, .click_to_exit = TRUE,
.show_match = TRUE, .show_match = TRUE,
.theme = NULL, .theme = NULL,

View file

@ -98,10 +98,10 @@ rofi.threads: 8
! rofi.scrollbar-width: 8 ! rofi.scrollbar-width: 8
! "Scrolling method. (0: Page, 1: Centered)" Set from: File ! "Scrolling method. (0: Page, 1: Centered)" Set from: File
rofi.scroll-method: 0 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 ! rofi.fake-background: screenshot
! "Window Format. w (desktop name), t (title), n (name), r (role), c (class) *DEPRECATED*" Set from: Default ! "Window Format. w (desktop name), t (title), n (name), r (role), c (class)" Set from: Default
! rofi.window-format: {w} {i}{c} {t} ! rofi.window-format: {w} {c} {t}
! "Click outside the window to exit" Set from: Default ! "Click outside the window to exit" Set from: Default
! rofi.click-to-exit: true ! rofi.click-to-exit: true
! "Indicate how it match by underlining it." Set from: Default ! "Indicate how it match by underlining it." Set from: Default

View file

@ -195,9 +195,9 @@ static XrmOption xrmOptions[] = {
{ xrm_Number, "scroll-method", { .num = &config.scroll_method }, NULL, { xrm_Number, "scroll-method", { .num = &config.scroll_method }, NULL,
"Scrolling method. (0: Page, 1: Centered)", CONFIG_DEFAULT }, "Scrolling method. (0: Page, 1: Centered)", CONFIG_DEFAULT },
{ xrm_String, "fake-background", { .str = &config.fake_background }, NULL, { 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, { 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, { xrm_Boolean, "click-to-exit", { .snum = &config.click_to_exit }, NULL,
"Click outside the window to exit", CONFIG_DEFAULT }, "Click outside the window to exit", CONFIG_DEFAULT },
{ xrm_Boolean, "show-match", { .snum = &config.show_match }, NULL, { xrm_Boolean, "show-match", { .snum = &config.show_match }, NULL,