aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2022-02-19 00:37:58 +0530
committerAyush Agarwal <ayush@fastmail.in>2022-02-19 00:37:58 +0530
commit759f29453a707260193b7d650a167d2657d11b74 (patch)
tree0f61732fcedce16589f5799cc3a74e24f9576060 /man
parent630541a7efa3bf3fec9c48d2be81af12adfc7db7 (diff)
docs: add man page for the config file of tessen
Diffstat (limited to 'man')
-rw-r--r--man/tessen.5.scd126
1 files changed, 126 insertions, 0 deletions
diff --git a/man/tessen.5.scd b/man/tessen.5.scd
new file mode 100644
index 0000000..1aed662
--- /dev/null
+++ b/man/tessen.5.scd
@@ -0,0 +1,126 @@
+tessen(5)
+
+# NAME
+
+configuration file for *tessen*(1)
+
+# DESCRIPTION
+
+tessen will search for a config file in the following locations
+
+- *$XDG_CONFIG_HOME/tessen/config*
+- *$HOME/.config/tessen/config*
+
+The location of the configuration file can also be specified using the *-c*
+option as specified in *tessen*(1).
+
+The configuration file for *tessen*(1) uses the same format as variable
+assignments when using bash
+
+```
+key="val"
+```
+
+The double quotes should always be specified as mentioned.
+
+A default configuration file is available at
+
+https://github.com/ayushnix/tessen/blob/master/config
+
+## OPTIONS
+
+The following options are understood by the configuration file for *tessen*(1):
+
+ *pass_backend*
+
+ The default pass backend to use - either *pass*(1) or *gopass*(1)
+
+ *dmenu_backend*
+
+ The default dmenu backend to use - either *rofi*(1), *fuzzel*(1),
+ *bemenu*(1), or *wofi*(1)
+
+ *action*
+
+ The action that should be performed by tessen. If you prefer to use both
+ autotyping and copying, it is recommended to leave this option commented
+ or unspecified.
+
+ *rofi_config_file*
+
+ The path to the configuration file of *rofi*(1). The location of the
+ file specified here is passed to rofi using its *-config* option.
+
+ *wofi_config_file*
+
+ *wofi_style_file*
+
+ *wofi_color_file*
+
+ The path to the configuration files of *wofi*(1). The location of the
+ files specified using these variables are passed to wofi using its *-c*,
+ *-s*, *-C* options, respectively. Note that *-k* is unsupported and is
+ explicitly set to */dev/null* to prevent leaking sensitive information.
+
+ *userkey*
+
+ The name of the key which will be used to decide the username. A simple
+ regex can also be specified, such as
+
+ ```
+ (user|login)
+ ```
+
+ This will match both *user* and *login* keys and the first occurence
+ will be used as the username. If unspecified, the default value is
+ *user*.
+
+ *urlkey*
+
+ The name of the key which will be used to decide the URL. A simple regex
+ can also be specified, such as
+
+ ```
+ (url|website)
+ ```
+
+ This will match both *url* and *website* keys and the first occurence
+ will be used as the URL. If unspecified, the default value is *url*.
+
+ *autotype_key*
+
+ The name of the key which will be used to decide the autotype key. A
+ simple regex can also be specified, such as
+
+ ```
+ (type|auto)
+ ```
+
+ This will match both *type* and *auto* keys and the first occurence will
+ be used as the custom autotype operation key value pair. If unspecified,
+ the default value is *autotype*.
+
+ *delay*
+
+ The delay, in milliseconds, introduced between successive autotype
+ operations. If unspecified, the default value is *100* milliseconds.
+
+ *web_browser*
+
+ The default web browser that should be used for opening URLs. If this is
+ specified, *xdg-open*(1) will not be used even if it's installed.
+
+# SEE ALSO
+
+*tessen*(5), *pass*(1), *gopass*(1) *pass-otp*(1), *rofi*(1), *fuzzel*(1),
+*bemenu*(1), *wofi*(1), *wl-clipboard*(1), *wtype*(1), *notify-send*(1)
+
+# AUTHORS
+
+Maintained by Ayush Agarwal <ayushnix at fastmail dot com> and other open source
+contributors mentioned here
+
+https://github.com/ayushnix/tessen/graphs/contributors
+
+The latest source can be found at https://github.com/ayushnix/tessen and
+bugs/patches/suggestions should be submitted there as well.