Version 0.3.2

This commit is contained in:
Takashi Kokubun 2022-04-07 20:55:49 -07:00
parent 18b68bc001
commit bdf3af41f8
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
## v0.3.2
* Support `timeout_millis` to timeout a prefix key
[#82](https://github.com/k0kubun/xremap/pull/82)
## v0.3.1 ## v0.3.1
* Keep `--watch` working when multiple keyboards are used * Keep `--watch` working when multiple keyboards are used

2
Cargo.lock generated
View File

@ -1059,7 +1059,7 @@ dependencies = [
[[package]] [[package]]
name = "xremap" name = "xremap"
version = "0.3.1" version = "0.3.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "xremap" name = "xremap"
version = "0.3.1" version = "0.3.2"
edition = "2021" edition = "2021"
description = "Dynamic key remapp for X and Wayland" description = "Dynamic key remapp for X and Wayland"
license = "MIT" license = "MIT"

View File

@ -171,6 +171,7 @@ keymap:
MOD1-KEY_XXX: MOD1-KEY_XXX:
remap: remap:
MOD2-KEY_YYY: MOD3-KEY_ZZZ MOD2-KEY_YYY: MOD3-KEY_ZZZ
timeout_millis: 200 # Optional. No timeout by default.
# key press (MOD1-KEY_XXX) -> sequence (MOD2-KEY_YYY, MOD3-KEY_ZZZ) # key press (MOD1-KEY_XXX) -> sequence (MOD2-KEY_YYY, MOD3-KEY_ZZZ)
MOD1-KEY_XXX: [MOD2-KEY_YYY, MOD3-KEY_ZZZ] MOD1-KEY_XXX: [MOD2-KEY_YYY, MOD3-KEY_ZZZ]
# execute a command # execute a command