From 2809c08f34a03cebfc9fb9b9a1d2661ec80ca269 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 9 Oct 2012 20:47:23 +0200 Subject: Add support for config file Signed-off-by: Florian Pritz --- fb.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'fb.1') diff --git a/fb.1 b/fb.1 index 3dbede8..124dac5 100644 --- a/fb.1 +++ b/fb.1 @@ -84,6 +84,22 @@ command line. .It Fl v Display the client version. .El +.Sh CONFIGURATION FILES +.Bl -tag +.It $XDG_CONFIG_HOME/fb-client/config +This file allows to override certain variables by using the format 'option_name="value"'. +Both, the option value and name, are case-sensitive string literals. + +The following option names are supported: +.Bl -tag +.It pastebin +The URL of the pastebin you want to use +.It clipboard_cmd +The command used to copy URLs of uploaded files to the clipboard. This defaults to xclip or pbcopy on Darwin. +.El +.It ~/.netrc +If neither fb_username nor fb_password is defined in the general config file, ~/.netrc will be used for authentication. +.El .Sh ENVIRONMENT Some options can be changed by modifying environment variables: .Bl -tag -width XZ_OPTS -- cgit v1.2.3-24-g4f1b