summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2021-06-24 19:11:56 +0200
committerDave Davenport <qball@blame.services>2021-06-24 19:11:56 +0200
commit330402aa1351c6b5397dc896345fe8ae3756e261 (patch)
treea7654ae2c6ed27ccca8e005e82212f898ee5fea6
parent3ec0ceabd07fda0e88a434e668e7707c01f89d86 (diff)
[FileBrowser] rename file-browser to filebrowser
In preperation to a overhaul of config system.
-rw-r--r--doc/rofi.12
-rw-r--r--doc/rofi.1.markdown2
-rw-r--r--source/dialogs/filebrowser.c4
-rw-r--r--source/xrmoptions.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/doc/rofi.1 b/doc/rofi.1
index 7f5f83b6..8df9c1f4 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -1167,7 +1167,7 @@ Message can be multi\-line.
.SS File browser settings
.PP
-\fB\fC\-file\-browser\-directory\fR \fIdirectory\fP
+\fB\fC\-filebrowser\-directory\fR \fIdirectory\fP
.PP
Directory the file browser starts in.
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index 51c17642..107ef85a 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -698,7 +698,7 @@ Message can be multi-line.
### File browser settings
-`-file-browser-directory` *directory*
+`-filebrowser-directory` *directory*
Directory the file browser starts in.
diff --git a/source/dialogs/filebrowser.c b/source/dialogs/filebrowser.c
index 5451a313..6ec2a7fb 100644
--- a/source/dialogs/filebrowser.c
+++ b/source/dialogs/filebrowser.c
@@ -489,8 +489,8 @@ Mode file_browser_mode =
{
.display_name = NULL,
.abi_version = ABI_VERSION,
- .name = "file-browser",
- .cfg_name_key = "display-file_browser",
+ .name = "filebrowser",
+ .cfg_name_key = "display-filebrowser",
._init = file_browser_mode_init,
._get_num_entries = file_browser_mode_get_num_entries,
._result = file_browser_mode_result,
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 6b5226bc..c2bb0187 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -132,7 +132,7 @@ static XrmOption xrmOptions[] = {
{ xrm_String, "drun-url-launcher", { .str = &config.drun_url_launcher }, NULL,
"Command to open a Desktop Entry that is a Link.", CONFIG_DEFAULT },
- { xrm_String, "file-browser-directory", { .str = &config.file_browser_directory }, NULL,
+ { xrm_String, "filebrowser-directory", { .str = &config.file_browser_directory }, NULL,
"Directory the file browser starts in", CONFIG_DEFAULT },
{ xrm_Boolean, "disable-history", { .num = &config.disable_history }, NULL,