Commit Graph

255 Commits

Author SHA1 Message Date
Seiei Miyagi
df6194880f
Make fetch_window_class look up the parent window if get WM_CLASS failed
Some applications have the window without name, such as Firefox.

c.f.
> XGetInputFocus() returns an unnamed child window
> that every instance of Firefox has.
https://burrows.svbtle.com/universal-copy-paste-in-linux
2017-05-06 02:47:32 +09:00
Takashi Kokubun
2d3eefbf1e Merge pull request #17 from acro5piano/master
Fix cannot remap_keys when using "window focus follows the mouse"
2017-01-15 19:53:58 +09:00
gosho-kazuya
beefa31976 add delay before fetch_active_window 2017-01-15 17:04:13 +00:00
Takashi Kokubun
a1b6e10aa6 Update build information
I migrated from Arch to Ubuntu. Dropping Arch support for now.
2017-01-09 15:24:01 +09:00
Takashi Kokubun
6e8e1f2128 Rename xkremap to xremap 2017-01-09 15:18:22 +09:00
Takashi Kokubun
ea34e7504e Improve window switcher example 2017-01-09 02:10:56 +09:00
Takashi Kokubun
0b5d09f5ab Version 0.0.3 2017-01-04 00:10:05 +09:00
Takashi Kokubun
a393665b19 Add mruby-env to write config easily 2017-01-04 00:07:42 +09:00
Takashi Kokubun
668215b43f Don't kill children 2017-01-03 23:30:38 +09:00
Takashi Kokubun
2da50e2d68 Actually bison is used to build mruby too 2016-12-03 11:49:32 +09:00
Takashi Kokubun
a3b99f1d0c Fix typo 2016-12-03 09:52:37 +09:00
Takashi Kokubun
1cc0ec2b3e Add CHANGELOG.md 2016-12-03 09:51:50 +09:00
Takashi Kokubun
2881a0cee9 Add include_config directive 2016-12-03 09:49:04 +09:00
Takashi Kokubun
167276f901 Allow building xkremap on darwin 2016-12-03 08:56:31 +09:00
Takashi Kokubun
11459966c7 Tiny refactoring around cflags 2016-12-03 08:55:40 +09:00
Takashi Kokubun
0121b84436 Note about build dependency 2016-12-01 19:48:51 +09:00
Takashi Kokubun
47fbcb8863 Fix typo in systemd service example 2016-12-01 18:03:18 +09:00
Takashi Kokubun
05a94a99df Merge pull request #3 from yaa/support-modifier-super
Support Super (Win) modifier key
2016-12-01 13:59:54 +09:00
YAA
7c6531508b Support Super (Win) modifier key 2016-12-01 13:39:38 +09:00
Takashi Kokubun
d5ee4991c1 Merge pull request #1 from hanachin/patch-1
Fix typo
2016-11-30 10:44:12 +09:00
Seiei Miyagi
14c5eb6676 Update README.md 2016-11-30 10:35:48 +09:00
Takashi Kokubun
9347a6c34e Add documents for Arch Linux 2016-11-30 09:17:37 +09:00
Takashi Kokubun
4a506529fa Rejet flags properly 2016-11-30 08:57:31 +09:00
Takashi Kokubun
a35f91fa27 Add make install 2016-11-30 08:28:54 +09:00
Takashi Kokubun
f591242342 Write documentation 2016-11-30 08:24:54 +09:00
Takashi Kokubun
f939c9020c Add macos example 2016-11-30 07:37:39 +09:00
Takashi Kokubun
668c553006 Refactor window switcher example 2016-11-30 07:12:23 +09:00
Takashi Kokubun
9ff4723693 Better logging to detect window class 2016-11-30 06:52:41 +09:00
Takashi Kokubun
ea07739f6c Add shorthand for define_method 2016-11-30 06:45:47 +09:00
Takashi Kokubun
55e172e895 Allow shell command execution 2016-11-30 06:24:05 +09:00
Takashi Kokubun
cb4f9b5cc4 Add Alt-n to slack example 2016-11-30 05:57:22 +09:00
Takashi Kokubun
a158408826 Add emacs_like example 2016-11-30 05:56:26 +09:00
Takashi Kokubun
0b9600d1ea Experimentally add press and release DSL 2016-11-30 05:41:01 +09:00
Takashi Kokubun
a37f2924a2 Compile modifiers more flexibly 2016-11-30 05:13:00 +09:00
Takashi Kokubun
58fd901c76 Add example of emacs binding 2016-11-30 04:59:43 +09:00
Takashi Kokubun
de6aab92fd Implement window-specific remaps 2016-11-30 04:45:24 +09:00
Takashi Kokubun
adb27362c7 Complete basic remap implementation 2016-11-30 04:00:12 +09:00
Takashi Kokubun
a8de68d52a Define constants in X.h 2016-11-30 02:40:18 +09:00
Takashi Kokubun
560e51efb5 Define X11 keysym constants 2016-11-30 02:24:14 +09:00
Takashi Kokubun
74c44b5c8f Try to implement actual remap by mruby 2016-11-30 01:53:44 +09:00
Takashi Kokubun
cc4730f517 Implement key press handler 2016-11-30 01:34:16 +09:00
Takashi Kokubun
fc993cee6e Grab keys only when active window is changed 2016-11-30 00:27:37 +09:00
Takashi Kokubun
36d41a3c99 Grab key by mruby 2016-11-29 21:16:40 +09:00
Takashi Kokubun
faf4a9ab40 Handle X events in mruby class 2016-11-29 04:02:34 +09:00
Takashi Kokubun
0c531e1583 Read and pass config to mruby class 2016-11-29 03:31:24 +09:00
Takashi Kokubun
56d8592bd6 Create application architecture 2016-11-29 02:50:49 +09:00
Takashi Kokubun
a0a9316124 Refactor Makefile 2016-11-29 00:37:10 +09:00
Takashi Kokubun
c4660da45d Split tools sources 2016-11-29 00:31:58 +09:00
Takashi Kokubun
b2ddabbe25 Build with X11 2016-11-29 00:22:32 +09:00
Takashi Kokubun
5a78ce246c Create Makefile to generate xkremap binary 2016-11-29 00:15:10 +09:00