summaryrefslogtreecommitdiff
path: root/home/dots/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'home/dots/.xinitrc')
-rwxr-xr-xhome/dots/.xinitrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/home/dots/.xinitrc b/home/dots/.xinitrc
new file mode 100755
index 0000000..24ccffb
--- /dev/null
+++ b/home/dots/.xinitrc
@@ -0,0 +1,23 @@
+#!/usr/bin/env sh
+DIR=$HOME/.guix-profile
+
+$DIR/bin/xinit -- $DIR/bin/Xorg :0 vt1 -keeptty \
+ -configdir $DIR/share/X11/xorg.conf.d \
+ -modulepath $DIR/lib/xorg/modules
+export _JAVA_AWT_WM_NONREPARENTING=1
+export VISUAL=emacsclient
+export EDITOR="$VISUAL"
+#autocutsel &
+xsetroot -solid '#FFFFFF' &
+#ulimit -c 0 &
+#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 &
+# xkbcomp $HOME/.config/keymap_locked_modifier.xkb $DISPLAY &
+setxkbmap -layout us -variant colemak -option "caps:ctrl_modifier" &
+xsetroot -cursor_name left_ptr &
+xset r rate 200 60 &
+emacs --daemon --eval "(require 'exwm)" -f exwm-enable
+exec dbus-launch emacsclient -c