summaryrefslogtreecommitdiff
path: root/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'xinitrc')
-rwxr-xr-xxinitrc19
1 files changed, 15 insertions, 4 deletions
diff --git a/xinitrc b/xinitrc
index f061e46..08a2f2a 100755
--- a/xinitrc
+++ b/xinitrc
@@ -1,13 +1,24 @@
. ~/.profile
export LC_ALL=en_US.UTF-8
+export _JAVA_AWT_WM_NONREPARENTING=1
+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 '#282C34' &
+xsetroot -solid '#FFFFFF' &
ulimit -c 0 &
-xclock -digital -geometry +7+1400 -face "Iosevka Aile:pixelsize=18:style=regular" -bg \#282C34 -fg \#B8BCC4 -strftime "FreeBSD/amd64 (mccd) %H:%M" &
+#xclock -digital -geometry +5+1402 -face "Iosevka Aile:pixelsize=18:style=regular" -bg \#282C34 -fg \#B8BCC4 -strftime "Bogo (%Y/%m/%d) %H:%M" &
gsettings set org.gnome.desktop.interface document-font-name 'Iosevka Aile' &
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:capslock" &
-dbus-run-session cwm
+setxkbmap -layout us -variant colemak -option "caps:ctrl_modifier" &
+# xkbcomp $HOME/.config/keymap_locked_modifier.xkb $DISPLAY &
+xsetroot -cursor_name left_ptr &
+xset r rate 200 60 &
+emacs --daemon --eval "(require 'exwm)" -f exwm-enable
+exec dbus-run-session emacsclient -c