1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# i3nator project
# General configuration items
[]
# Working directory to use (this is optional)
= "/path/to/my/working/directory"
# Name of the workspace the layout should be applied to (this is optional, if
# not specified, the active workspace will be used)
= "1"
# Name of the i3nator managed layout
= "mylayout"
# Alternative 1: path to your layout-file
# layout = "/path/to/my/layout.json"
# Alternative 2: you can include the JSON-contents of the layout directly
# layout = """
# {
# ...
# }"""
# List of applications to start
[[]]
# Command to run to start the application
= "mycommand --with 'multiple args'"
# Different working directory to use (optional)
# working_directory = "/path/to/a/different/working/directory"
# Execute commands in the started application
# exec = "anothercommand --with 'multiple args'"
# You can also execute multiple commands:
# exec = ["command one", "command two"]
# By default, the commands get "typed" into the application, followed by a
# simulated press of "Return". You can influence this behaviour to either not
# press return, or to interpret the given commands as individual keypresses:
# exec = { commands = ["echo", " ", "hi"], exec_type = "text_no_return" }
# ^- this will only input "echo hi" into the application, without simulating a
# Return.
# exec = { commands = ["e", "c", "h", "o", "space", "h", "i", "Return"] }
# ^- this will forward the elements of `commands` as they are to `xdotool key`,
# i.e. they will be executed as individual keypresses.