summaryrefslogtreecommitdiff
path: root/home/dots/.xinitrc
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-27 08:17:21 +0200
committerMarc Coquand <marc@mccd.space>2024-10-27 08:17:21 +0200
commit78c176e81be7cb5c3b27c8e7c0ec33367f953885 (patch)
tree1a69e1cd7224ab7339050a9f66b141362c040f2e /home/dots/.xinitrc
parent9a9644cd21a46fb583774de090a44a77917d09c3 (diff)
downloadguix-78c176e81be7cb5c3b27c8e7c0ec33367f953885.tar.gz
guix-78c176e81be7cb5c3b27c8e7c0ec33367f953885.tar.bz2
guix-78c176e81be7cb5c3b27c8e7c0ec33367f953885.zip
.
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