-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample.toml
31 lines (26 loc) · 999 Bytes
/
config.sample.toml
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
tick = 500 # Check every 500ms
# Some action
[[action]]
name = "some action" # Name used in output
exec = [] # Command to execute when criteria is met
undo = [] # Command to execute when criteria is no longer met
# Must match this criteria
[[action.criteria]]
user = [] # ["$USER"] - Owned by same user running paction
name = [] # ["mygame"] - This game of mine
cmd = [] # ["--fullscreen", "--borderless"] - Command contains one of these
# Also must match this criteria
[[action.criteria]]
user = [] # ["someuser", 1001, "$USER"] - Owned by either
name = [] # ["someprog", "orthisprog"] - One of these programs
cmd = []
# Some other action
[[action]]
name = "some other action" # Name used in output
exec = [] # Command to execute when criteria is met
undo = [] # Command to execute when criteria is no longer met
# Must match this criteria
[[action.criteria]]
user = [] # ["someuser"] - Owned by "someuser"
name = []
cmd = [] # ["--fullscreen", "--borderless"] - Command contains one of these