-
-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathgromit-mpx.cfg
More file actions
59 lines (45 loc) · 1.79 KB
/
gromit-mpx.cfg
File metadata and controls
59 lines (45 loc) · 1.79 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
# Tool and hot key configuration for Gromit-MPX.
#
# See https://github.com/bk138/gromit-mpx/blob/master/README.md#configuration
# for what you can configure here and how the syntax looks like.
#
# ❗ Once done editing, you have to manually restart Gromit-MPX to apply the
# made changes.
#
# Note that there is https://github.com/bk138/gromit-mpx/issues/110 which will
# eventually replace this with a proper UI.
#
#
# Tool definitions.
#
"red Pen" = PEN (size=5 color="red");
"blue Pen" = "red Pen" (color="blue");
"yellow Pen" = "red Pen" (color="yellow");
"green Marker" = PEN (size=6 color="green" arrowsize=1);
"Eraser" = ERASER (size = 75);
"green Line" = LINE (color="green");
"red Rectangle" = RECT (color="red");
"red Smoothed" = SMOOTH (color="red" simplify=10 snap=30);
"red Orthogonal" = ORTHOGONAL (color="red" size=5 simplify=15 radius=20 minlen=50 snap=40);
"blue Circle" = CIRCLE (color="blue" size=3);
"red Filled Circle" = CIRCLE (color="black" size=3 fillcolor="red");
# Note: For transparency, use the rgba() format (values from 0.0 to 1.0 for alpha).
# The hex format with alpha (#RRGGBBAA) is not supported.
"semi-transparent Circle" = CIRCLE (color="black" size=3 fillcolor="rgba(255, 0, 0, 0.5)");
#
# Tool mappings to input devices. Not all tools are mapped in this config.
#
"default" = "red Pen";
"default"[SHIFT] = "blue Pen";
"default"[CONTROL] = "yellow Pen";
"default"[2] = "green Marker";
"default"[Button3] = "Eraser";
"default"[ALT] = "blue Circle";
"default"[ALT,SHIFT] = "red Filled Circle";
"default"[ALT,CONTROL] = "semi-transparent Circle";
#
# Hot key / undo key.
# Uncomment to set Hot key and/or Undo key to a custom value. Note that you can only specify single keysyms, not key combos.
#
# HOTKEY = "F9";
# UNDOKEY = "F8";