about summary refs log tree commit diff
path: root/third_party/exwm/xinitrc
diff options
context:
space:
mode:
authortazjin <mail@tazj.in>2021-09-16T01·16+0000
committerGerrit Code Review <git@whitby.tvl.fyi>2021-09-16T01·16+0000
commit6012ac8c1ec4e9eb7bc177c56f08a1c0317bd556 (patch)
treefab795eab182b1687489ae0fb5dd50d6d7267cb4 /third_party/exwm/xinitrc
parentd7f60bcb043925670c02a8ccf9067e97d647bc87 (diff)
parentcefff2ca25b327c3b7d5925f75d19419796acb2d (diff)
Merge "chore(3p/exwm): Subtree EXWM ... again" into canon r/2870
Diffstat (limited to 'third_party/exwm/xinitrc')
-rw-r--r--third_party/exwm/xinitrc20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/exwm/xinitrc b/third_party/exwm/xinitrc
new file mode 100644
index 000000000000..591e4199144f
--- /dev/null
+++ b/third_party/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