aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc30
1 files changed, 30 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..569841b
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,30 @@
+setxkbmap us -option ctrl:swapcaps
+
+#/home/dnw/.fehbg &
+#bash /home/dnw/status.sh &
+pulseaudio --start
+
+# EXWM start
+# 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
+
+# required for GTK3 scrolling
+export GDK_CORE_DEVICE_EVENTS=1
+# Finally start Emacs
+
+exec dbus-run-session -- emacsclient -c -a ""