My first PR: Automatic config reloading 🎉 #1708
malpern
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Automatic config reloading is here!
No more manual
lrld- just save your config and watch kanata reloadautomatically.
Hey everyone! I've been exploring ways to hot reload/restart kanata
configs programmatically (see my earlier discussion). I
initially investigated setting up a privileged Mac helper app through
SMJobBless , but that turned out to be quite complex. So instead,
I decided to contribute directly to kanata - adding built-in support
for hot reloading config files on save!
See It In Action
My First Contribution
I just submitted my first open source PR! #1707 adds a
--watch flag that automatically reloads your config when you save
changes.
Features
Ready to Try?
cargo build --features watch
sudo ./target/debug/kanata --cfg your-config.kbd --watch
Found a bug or have ideas? Drop feedback in the PR this is
my first contribution and I'd love to learn!
Future Plans
This is just the start! I'm planning to add:
Technical Details
saves
Thanks to @jtroo for creating such an awesome tool! 🙌
Beta Was this translation helpful? Give feedback.
All reactions