Skip to content

Commit

Permalink
data: include all tools and link to README in default config
Browse files Browse the repository at this point in the history
re #110
  • Loading branch information
bk138 committed Mar 29, 2024
1 parent 14b1953 commit c7ff625
Showing 1 changed file with 34 additions and 7 deletions.
41 changes: 34 additions & 7 deletions data/gromit-mpx.cfg
Original file line number Diff line number Diff line change
@@ -1,21 +1,48 @@
# Default gromit-mpx configuration
# taken from Totem's telestrator mode config
# added default entries
# 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.
#

# 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";
#
# 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);

#
# 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";

#
# 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";

0 comments on commit c7ff625

Please sign in to comment.