Commit Graph

208 Commits (master)

Author SHA1 Message Date
Takashi Kokubun ab7cdafb72
Support overriding timeout_key on nested remap 2 years ago
Takashi Kokubun 788624b953
Support executing commands on press/release events 2 years ago
Takashi Kokubun f34e081133
Merge pull request #142 from k0kubun/x11rb
Migrate from x11 crate to x11rb crate
2 years ago
Takashi Kokubun ea362b8663
Migrate from x11 crate to x11rb crate 2 years ago
Frederick Zhang a7056394f5
Avoid monitoring xremap virtual device
When a device is removed, xremap re-selects devices. Now since xremap is
already running and the virtual device already exists, we need to filter
it out from the new device list.
2 years ago
Frederick Zhang 8770711b17
Fix clippy warnings 2 years ago
Frederick Zhang 5b0ad05960
Add --mouse option to select mice by default 2 years ago
Frederick Zhang 008fabaf80
Support regex for application names 2 years ago
Takashi Kokubun eec9c848c8
Shorten the main() function 2 years ago
Takashi Kokubun 18ee84e934
Merge pull request #93 from k0kubun/mode
Support modal remapping
2 years ago
Takashi Kokubun 86d9e9264d
Implement a different GNOME protocol with title 2 years ago
Takashi Kokubun e660f219b1
Fix GNOME's check of "supported" flag 2 years ago
Takashi Kokubun 7d0d829647
Use xremap's original extension to talk to GNOME 2 years ago
Takashi Kokubun 2738251657
Support modal remapping 2 years ago
Takashi Kokubun 3494c0a546
Repeat/Release what was originally pressed
Close #87
2 years ago
Takashi Kokubun 2c4e3574e3
Expand modifiers on a nested remap
Fix #91
2 years ago
Takashi Kokubun 18b68bc001
Merge pull request #82 from k0kubun/remap-timeout
Add timeout_millis for nested remap
2 years ago
Takashi Kokubun 140a478e0d
Eagerly expire a timeout prefix 2 years ago
Takashi Kokubun 89ff895be0
Ungrab devices on ReloadDevices 2 years ago
Takashi Kokubun 2adf8f0707
Flush a buffered key on unhandled events 2 years ago
Takashi Kokubun 65f5f27d02
Flush buffered keys on timeout 2 years ago
Takashi Kokubun 0d200a87b2
Add timeout_millis for nested remap 2 years ago
Takashi Kokubun 479b864188
Polish the help message a little 2 years ago
Roland Fredenhagen 21f45f93f3
config reload 2 years ago
Roland Fredenhagen c23a8cf748
device watcher improvements 2 years ago
Roland Fredenhagen 84639c2a22
support generating completions 2 years ago
Roland Fredenhagen ca2210e2e0
remove dbg 2 years ago
Roland Fredenhagen b3c3c10755
move command line parsing to clap; address clippy 2 years ago
Takashi Kokubun 660084b18b
Support escape_next_key 2 years ago
Takashi Kokubun a311f6fa1e
Do not skip further keys on keymap 2 years ago
Takashi Kokubun ee93bb41f9
Use libc::c_char for Arm portability
Close #73

kudos to https://github.com/remacs/remacs/pull/1397.
2 years ago
Mark Knoop c2c331e03f Handle sway application support for XWayland windows
XWayland windows have null app_id, look for and return window_properties.class instead.
2 years ago
κeen 030ec39c63
support more mouse buttons 2 years ago
Takashi Kokubun 6134627428
Support BTN_SIDE in the output device 2 years ago
Takashi Kokubun a4cf2e75a1
Change the L/R syntax from a prefix to a suffix 2 years ago
Takashi Kokubun 804ad68718
Support left/right-specific modifiers 2 years ago
Takashi Kokubun c2204a4559
Resolve left and right combinations on deserialization 2 years ago
Takashi Kokubun 343204607c
Reorder set_mark and with_mark 2 years ago
κeen 1974ba57a1
fix typo 2 years ago
κeen bc280293e5
add an option to show the version 2 years ago
Takashi Kokubun c49a9b5cde
Implement mark 2 years ago
Takashi Kokubun 646a1dd53d
Version 0.1.6 2 years ago
Takashi Kokubun b428af7992
Use raw string literals 2 years ago
Takashi Kokubun 33a3bcee02
Handle child processes with SA_NOCLDWAIT 2 years ago
Takashi Kokubun dc5660754a
Implement launch action 2 years ago
Takashi Kokubun a7e9b92bad
Merge remote-tracking branch 'gdvalle/hotkeys' into launch-action 2 years ago
Takashi Kokubun 21192ae2ce
Simplify Action deserializer 2 years ago
Takashi Kokubun c9aee618a2
Simplify KeyPress deserializer 2 years ago
Takashi Kokubun 6de99ec863
Simplify Key deserializer 2 years ago
Takashi Kokubun 16094de2cf
Instantiate Duration on deserialization 2 years ago
Takashi Kokubun 63e24b4dc5
Simplify Application deserializer 2 years ago
Takashi Kokubun fbdda1f1e6
Simplify Keymap deserializer 2 years ago
Takashi Kokubun d6fe343f31
Simplify Modmap deserializer 2 years ago
Takashi Kokubun ef0d7c428d
Simplify Actions deserializer 2 years ago
Takashi Kokubun 179674e713
Simplify KeyAction deserializer 2 years ago
Greg Dallavalle 225f8019bd Add hotkey command support 2 years ago
Takashi Kokubun 4280a3f559
Simplify serde a little 2 years ago
Takashi Kokubun e8b4aed1aa
Re-add serde tests 2 years ago
Takashi Kokubun 7ab1595836
Rollback to v0.1.5 2 years ago
Takashi Kokubun 613555943d
Add serde test cases 2 years ago
Takashi Kokubun ff1c19e076
Start testing serde 2 years ago
Takashi Kokubun 12906a45df
Resurrect deserializer for Actions 2 years ago
Takashi Kokubun 00e4a07f43
This no longer needs to be pub 2 years ago
Takashi Kokubun 8c7d2b1aac
Refactor remap deserializer 2 years ago
Takashi Kokubun fc9927b2f7
serde_error is no longer shared 2 years ago
Takashi Kokubun 320b602789
s/evdev::Key/Key/g again 2 years ago
Takashi Kokubun 47768f8ca7
Simplify the default 2 years ago
Takashi Kokubun 12fac38102
Rename a deserialization function 2 years ago
Takashi Kokubun 3c0fe13c27
Unwrap evdev::Key 2 years ago
Takashi Kokubun eb68ae2da3
Add #[serde(untagged)] 2 years ago
Takashi Kokubun 186f02c8d0
Switch to #[derive(Deserialize)] 2 years ago
Takashi Kokubun daaf353bdb
Add a wrapper of evdev::key for deserialization 2 years ago
Takashi Kokubun eb58323637
Simplify Actions serde 2 years ago
Takashi Kokubun 18f1084da7
Simplify serde a little 2 years ago
Takashi Kokubun 0c4aabd07e
Commit an unstaged change 2 years ago
Takashi Kokubun d292c59dbe
Implement --watch 2 years ago
Takashi Kokubun 8dd6b254ee
Recover from a removed device 2 years ago
Takashi Kokubun 2ab9008d54
Ignore its own device 2 years ago
Takashi Kokubun d6182c0412
Move event_handler function to another file again 2 years ago
Takashi Kokubun 9aebbd032c
Make name optional 2 years ago
Takashi Kokubun a5f2185766
Add --ignore option
Close #46
2 years ago
Takashi Kokubun 9f69ef8bb6
Refactor module boundaries 2 years ago
Takashi Kokubun 94e91d9f6a
Add a clarification comment 2 years ago
Takashi Kokubun 091900500d
Support multi-purpose keys in modmap 2 years ago
Takashi Kokubun 1518dae48f
Fix a typo
Fix #43
2 years ago
Takashi Kokubun 57b9962ca7
cargo fmt 2 years ago
Takashi Kokubun 13719b9f70
Drop sudo requirement and stop forking swayipc 2 years ago
Takashi Kokubun cb4f735d2a
Revert "Workaround for xremap crate v0.1.0"
This reverts commit ef49f84f905ab088a7dcd95ee4d612e5af0aa419.
2 years ago
Takashi Kokubun 26c8c8429f
Workaround for xremap crate v0.1.0
I noticed git-based dependencies cannot be published to crates.io.
So I removed the sway feature from crates.io temporarily to finish the
namespace reservation.

I'll make it right in the upcoming release of xremap.
2 years ago
κeen 53b2ae58b4
introduce log/env_logger 2 years ago
Takashi Kokubun a6be4f00bd
Add troubleshooting messages for X11 2 years ago
Takashi Kokubun 4b0e3ceb36
Implement GnomeClient primarily for Wayland 2 years ago
Takashi Kokubun 6547b4883d
Rename wm_class to application 2 years ago
Takashi Kokubun 4b251b1fce
Feature-flag WM clients 2 years ago
Takashi Kokubun ecfdcb8de5
Guard from SEGV 2 years ago
Takashi Kokubun 60e6ada024
Implement SwayClient 2 years ago
Takashi Kokubun d0bffa8c2f
Fix modifier bugs 2 years ago
Takashi Kokubun 387c29d355
Workaround FocusProxy 2 years ago
Takashi Kokubun bcc4598069
Implement conditional modmap properly 2 years ago
Takashi Kokubun 39dbc8a1fe
Support wm_class for X11 2 years ago