1wlogout(5)                    File Formats Manual                   wlogout(5)
2
3
4

NAME

6       wlogout - layout file and options
7

LAYOUT

9       wlogout's buttons can consist of upto six values
10       ·   label
11       ·   action
12       ·   text
13       ·   keybind
14       ·   height *
15       ·   width *
16       ·   circular *
17
18
19       * Optional values
20
21       Label is the css selector by which the buttons may be referred to in a
22       style.css file, action is the shell command to be executed when the
23       button is clicked, text is the description displayed on the button,
24       keybind is the key mapped to the button (note escape is reserved for
25       exiting the application), height and width are values between 0.0 and
26       1.0 that control the location of where text is displayed the default
27       width 0.5, height 0.9, and circular is a boolean value that makes a
28       button round.
29

FILE

31       The buttons values are specified in a JSON formatted file, wherein the
32       values are used as keys and one button corresponds to one JSON object
33       for example:
34           {
35               "label" : "foo",
36               "action" : "echo 'hello world'",
37               "text" : "bar",
38               "keybind" : "f",
39               "height" : 1,
40               "width" : 1,
41               "circular" : true
42           }
43       Would create a round button that has a css label of foo, prints "hello
44       world" upon being clicked, displays "bar" on the button, be bound to
45       the key 'f', and "bar" would be shown at the bottom right corner. To
46       create multiple buttons simply create another JSON object.
47

AUTHORS

49       Maintained by Haden Collins <collinshaden@gmail.com> for more informa‐
50       tion about wlogout, see <https://github.com/ArtsyMacaw/wlogout>.
51

SEE ALSO

53       wlogout(1)
54
55
56
57                                  2020-07-29                        wlogout(5)
Impressum