From 49a21778db28105f0ea01e2e65686de963e954cc Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 27 Oct 2024 10:04:52 +0200 Subject: . --- home/dots/.xinitrc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'home/dots/.xinitrc') diff --git a/home/dots/.xinitrc b/home/dots/.xinitrc index 24ccffb..914bcec 100755 --- a/home/dots/.xinitrc +++ b/home/dots/.xinitrc @@ -1,12 +1,18 @@ #!/usr/bin/env sh +xhost +SI:localuser:$USER 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" +export XDG_DATA_DIRS="/run/current-system/profile/share:$HOME/.guix-profile/share:/run/current-system/profile/share" +export XDG_CONFIG_DIRS="$HOME/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_DATA_HOME="$HOME/.local/share" +export GDK_DPI_SCALE="1.5" +export GDK_SCALE="1.5" +export XCURSOR_SIZE="32" #autocutsel & xsetroot -solid '#FFFFFF' & #ulimit -c 0 & @@ -16,8 +22,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 & # xkbcomp $HOME/.config/keymap_locked_modifier.xkb $DISPLAY & -setxkbmap -layout us -variant colemak -option "caps:ctrl_modifier" & +#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 +exec dbus-run-session emacsclient -c -- cgit v1.2.3