aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag/swaynag.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-07-28 09:34:25 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-08-01 22:47:54 -0400
commit8463a2896a932cd99f3dc93608b03cb4aba93293 (patch)
treeb8c4ba994cf4d9ca7510d0f80a1864cce144092a /swaynag/swaynag.5.scd
parentAddress first round review for swaynag (diff)
downloadsway-8463a2896a932cd99f3dc93608b03cb4aba93293.tar.gz
sway-8463a2896a932cd99f3dc93608b03cb4aba93293.tar.zst
sway-8463a2896a932cd99f3dc93608b03cb4aba93293.zip
swaynag: implement config file support
Diffstat (limited to 'swaynag/swaynag.5.scd')
-rw-r--r--swaynag/swaynag.5.scd57
1 files changed, 57 insertions, 0 deletions
diff --git a/swaynag/swaynag.5.scd b/swaynag/swaynag.5.scd
new file mode 100644
index 00000000..a4e05e3a
--- /dev/null
+++ b/swaynag/swaynag.5.scd
@@ -0,0 +1,57 @@
1swaynag(5)
2
3# NAME
4
5swaynag - swaynag configuration file
6
7# SYNOPSIS
8
9$HOME/.swaynag/config, $XDG\_CONFIG\_HOME/swaynag/config,
10SYSCONFDIR/swaynag/config
11
12# CONFIG FILE
13At the top of the config file, _swaynag_ options can be set using the format
14_long-option=value_. These will be used as default values if _swaynag_ is not
15given the option. This can be useful for setting a preferred font, output, and
16edge.
17
18Below the options, custom types may be defined. To define a type, use the
19following format:
20
21```
22[name-of-type]
23color=RRGGBB[AA]
24```
25
26All colors may be given in the form _RRGGBB_ or _RRGGBBAA_. The following
27colors can be set:
28
29*background*
30 The background color for _swaynag_.
31
32*border*
33 The color to use for borders of buttons.
34
35*border-bottom*
36 The color of the border line at the bottom of _swaynag_.
37
38*button-background*
39 The background color for the buttons.
40
41*text*
42 The color of the text.
43
44# EXAMPLE
45```
46font=Monospace 12
47
48[green]
49background=00AA00
50border=006600
51border-bottom=004400
52text=FFFFFF
53button-background=00CC00
54```
55
56# SEE
57swaynag(1)