diff options
author | Vincent Ambo <mail@tazj.in> | 2020-11-08T00·00+0100 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2020-11-08T00·01+0100 |
commit | 6104f6514f666a861d707c3085fe180aae07177e (patch) | |
tree | 7f95537003ae5aaad3d85270de81785228a064ed /third_party/emacs/exwm/xinitrc | |
parent | e84f9ef0adb48db610fd06d6ff75edd073712a90 (diff) | |
parent | 0368127976bda29d35eed788edfe74644ecd3845 (diff) |
chore(3p/emacs/exwm): Import from commit '0368127976bda29d35eed788edfe74644ecd3845' r/1871
Imported from https://github.com/ch11ng/exwm/commit/0368127976bda29d35eed788edfe74644ecd3845 git-subtree-dir: third_party/emacs/exwm git-subtree-mainline: e84f9ef0adb48db610fd06d6ff75edd073712a90 git-subtree-split: 0368127976bda29d35eed788edfe74644ecd3845 Change-Id: Id3af5610254180f42947d71265aad89def7c6a3d
Diffstat (limited to 'third_party/emacs/exwm/xinitrc')
-rw-r--r-- | third_party/emacs/exwm/xinitrc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/emacs/exwm/xinitrc b/third_party/emacs/exwm/xinitrc new file mode 100644 index 000000000000..591e4199144f --- /dev/null +++ b/third_party/emacs/exwm/xinitrc @@ -0,0 +1,20 @@ +# Disable access control for the current user. +xhost +SI:localuser:$USER + +# Make Java applications aware this is a non-reparenting window manager. +export _JAVA_AWT_WM_NONREPARENTING=1 + +# Set default cursor. +xsetroot -cursor_name left_ptr + +# Set keyboard repeat rate. +xset r rate 200 60 + +# Uncomment the following block to use the exwm-xim module. +#export XMODIFIERS=@im=exwm-xim +#export GTK_IM_MODULE=xim +#export QT_IM_MODULE=xim +#export CLUTTER_IM_MODULE=xim + +# Finally start Emacs +exec emacs |