summaryrefslogtreecommitdiff
path: root/xinitrc
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-16 19:26:33 +0200
committerMarc Coquand <marc@mccd.space>2024-10-16 19:26:33 +0200
commit4d963b3b9cdbc239bf9975695d14af7319e3026a (patch)
treeeab57fe72cc72930a61776f4ad1ca17364f33bf2 /xinitrc
parent9dab72655a84b2d80220f9ee30a12ae6112079ed (diff)
downloadbsd-4d963b3b9cdbc239bf9975695d14af7319e3026a.tar.gz
bsd-4d963b3b9cdbc239bf9975695d14af7319e3026a.tar.bz2
bsd-4d963b3b9cdbc239bf9975695d14af7319e3026a.zip
updates
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