diff --git a/CHANGELOG.md b/CHANGELOG.md index f1d676a..93d98fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## v0.1.6 + +* Add `launch` action to execute a command + [#52](https://github.com/k0kubun/xremap/issues/52) + ## v0.1.5 * Add `--watch` option to automatically add new devices diff --git a/Cargo.lock b/Cargo.lock index b62a83a..2972156 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -967,7 +967,7 @@ dependencies = [ [[package]] name = "xremap" -version = "0.1.5" +version = "0.1.6" dependencies = [ "env_logger", "evdev", diff --git a/Cargo.toml b/Cargo.toml index 3306de3..3615325 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xremap" -version = "0.1.5" +version = "0.1.6" edition = "2021" description = "Dynamic key remapp for X and Wayland" license = "MIT" diff --git a/src/event_handler.rs b/src/event_handler.rs index 3843ca9..60beb47 100644 --- a/src/event_handler.rs +++ b/src/event_handler.rs @@ -218,7 +218,7 @@ impl EventHandler { Ok(()) } - pub fn run_command(&mut self, command: Vec) { + fn run_command(&mut self, command: Vec) { if !self.sigaction_set { // Avoid defunct processes let sig_action = SigAction::new(SigHandler::SigDfl, SaFlags::SA_NOCLDWAIT, SigSet::empty());