mirror of
https://github.com/k0kubun/xremap
synced 2024-11-02 03:40:25 +00:00
Version 0.1.6
This commit is contained in:
parent
67cff94344
commit
646a1dd53d
@ -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
|
## v0.1.5
|
||||||
|
|
||||||
* Add `--watch` option to automatically add new devices
|
* Add `--watch` option to automatically add new devices
|
||||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -967,7 +967,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "xremap"
|
name = "xremap"
|
||||||
version = "0.1.5"
|
version = "0.1.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger",
|
"env_logger",
|
||||||
"evdev",
|
"evdev",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "xremap"
|
name = "xremap"
|
||||||
version = "0.1.5"
|
version = "0.1.6"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Dynamic key remapp for X and Wayland"
|
description = "Dynamic key remapp for X and Wayland"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -218,7 +218,7 @@ impl EventHandler {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn run_command(&mut self, command: Vec<String>) {
|
fn run_command(&mut self, command: Vec<String>) {
|
||||||
if !self.sigaction_set {
|
if !self.sigaction_set {
|
||||||
// Avoid defunct processes
|
// Avoid defunct processes
|
||||||
let sig_action = SigAction::new(SigHandler::SigDfl, SaFlags::SA_NOCLDWAIT, SigSet::empty());
|
let sig_action = SigAction::new(SigHandler::SigDfl, SaFlags::SA_NOCLDWAIT, SigSet::empty());
|
||||||
|
Loading…
Reference in New Issue
Block a user