Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Espanso Macro Scripts for Linux and MacOS #52

Merged
merged 4 commits into from
Oct 28, 2024

Conversation

LarveyOfficial
Copy link
Contributor

Right now macro options on Linux are limited to only X11 users. If you use Linux with Wayland Autokey is not an option.

I did some digging and found that Espanso might be a good option. It also has a MacOS version, so that's a bit of a bonus.

I did some modifications to the current macro script code. The changes are as follows:

  • Software can now have extraInstructions which provide a bit more information (Espanso isn't the easiest to use out of the box, so having a bit of info can go a long way)
  • supportsShortcut can now either be false or a string. This is to allow changing the base shortcut from alt to ctrl for Espanso as it does not allow using Alt or Super as its keybind keys.
  • Macro shortcuts have been limited to only Alphabetic characters (A-Z) as the way Espanso handles Keybinds is a bit odd. I don't really think this should be an issue for Windows users on AutoHotkey since you still get A-Z, and its just a temporary one-time-use script.

MacOS functionality is untested right now, but based on the docs (https://espanso.org/docs/get-started/) it should work out fine.

Copy link

vercel bot commented Oct 20, 2024

@LarveyOfficial is attempting to deploy a commit to the Max Isom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@codetheweb
Copy link
Member

Thank you! I fixed a small UI bug and the build issue, but it looks like I don't have permission to push to your branch. Here's a patch file:
0001-Fix-UI-bug-and-build-issue.patch

Copy link

vercel bot commented Oct 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mtucourses-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 28, 2024 0:24am

@codetheweb
Copy link
Member

Vercel is refusing to build this because of a type error that I can't reproduce locally... I bumped the Node.js version in Vercel, could you push an empty commit to trigger a new deployment? I re-ran the build but I'm not sure if the new Node.js version setting applied.

@codetheweb codetheweb merged commit 1b22c74 into Michigan-Tech-Courses:master Oct 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants