summaryrefslogtreecommitdiff
path: root/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xxinitrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/xinitrc b/xinitrc
index 7e8d8f4..08a2f2a 100755
--- a/xinitrc
+++ b/xinitrc
@@ -5,6 +5,8 @@ export XMODIFIERS=@im=exwm-xim
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export CLUTTER_IM_MODULE=xim
+export VISUAL=emacsclient
+export EDITOR="$VISUAL"
xrdb -load ~/.Xresources &
autocutsel &
xsetroot -solid '#FFFFFF' &
@@ -15,7 +17,8 @@ gsettings set org.gnome.desktop.interface font-name 'Iosevka Aile' &
gsettings set org.gnome.desktop.interface cursor-size 32 &
gsettings set org.gnome.desktop.interface cursor-theme Adwaita &
setxkbmap -layout us -variant colemak -option "caps:ctrl_modifier" &
-xkbcomp $HOME/.config/keymap_locked_modifier.xkb $DISPLAY &
+# xkbcomp $HOME/.config/keymap_locked_modifier.xkb $DISPLAY &
xsetroot -cursor_name left_ptr &
xset r rate 200 60 &
-dbus-run-session emacs
+emacs --daemon --eval "(require 'exwm)" -f exwm-enable
+exec dbus-run-session emacsclient -c