From 1d149e836263cdfb5447a1151560ddb3142b1e9d Mon Sep 17 00:00:00 2001 From: Scoopta Date: Sun, 26 Jan 2020 00:53:25 -0800 Subject: [PATCH] Added info about comments and escapes in the config to the man pages --- man/wofi.5 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man/wofi.5 b/man/wofi.5 index fe6ab7d..5cb307b 100644 --- a/man/wofi.5 +++ b/man/wofi.5 @@ -7,6 +7,8 @@ Wofi's configuration format is very simple, consisting of key value pairs in sna Mode specific options for the built\-in modes are documented in \fBwofi\fR(7). They are placed in the config file in the format \fBmode\-example_opt=val\fR. For example dmenu has an option called \fBparse_action\fR which would be placed in the config as \fBdmenu\-parse_action=true\fR. +Anything following a # is considered to be a comment unless the # is prefixed with a \\. For this reason in order to put a backslash in the config it must be escaped as well giving \\\\. + .SH CONFIG OPTIONS Most of the options here are the command flags as found in \fBwofi\fR(1) in snake case, however some are unique to the config.