Browse Source

Added 'startup' flag for actions to start ON

This is useful for later automation which should do something if it sees
an image (either click the image, with possible offset, or click
something else, or do hopefully something entirely different)
apollo 5 ngày trước cách đây
mục cha
commit
a6d2d5c897
2 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 4 0
      _example/keys/example.toml
  2. 4 0
      _example/keys/example_mirror.toml

+ 4 - 0
_example/keys/example.toml

@@ -2,6 +2,10 @@
 
 # When 'h' is pressed, write 'Hello World!'
 
+# Do we want this key-bind active on start-up
+# This is a simple example, it won't use this
+#startup = true
+
 # Key to trigger on
 # This hotkey must be in the format, 'ctrl+shift+a' (user holds ctrl, shift and 'a' at once)
 key = 'h'

+ 4 - 0
_example/keys/example_mirror.toml

@@ -3,6 +3,10 @@
 # Press alt when 'w' is down, and release when 'w' is up
 # Use 'z' to toggle on/off
 
+# Do we want this key-bind active on start-up
+# This is a simple example, it won't use this
+#startup = true
+
 # Key to toggle
 key = 'z'