Skip to content

Commit d7d25f1

Browse files
committed
Add command to autokey script to get SuperKey version.
1 parent 1957a9a commit d7d25f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/autokey.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ def line_starts_with(x: str) -> bool:
182182
intf.autokey_quick_msg(int(match.group(1)))
183183
continue
184184

185+
elif line_equals(':version'):
186+
# Print version information
187+
print(intf.version())
188+
continue
189+
185190
elif line_starts_with(':'):
186191
# Unknown command?
187192
print('Unknown command?')

0 commit comments

Comments
 (0)