diff options
author | Marc Coquand <marc@mccd.space> | 2024-10-27 10:04:52 +0200 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-10-27 10:04:52 +0200 |
commit | 49a21778db28105f0ea01e2e65686de963e954cc (patch) | |
tree | 1dcd2ff184e2449e49711445162151bf39ebba8f /home/dots/.xinitrc | |
parent | 78c176e81be7cb5c3b27c8e7c0ec33367f953885 (diff) | |
download | guix-49a21778db28105f0ea01e2e65686de963e954cc.tar.gz guix-49a21778db28105f0ea01e2e65686de963e954cc.tar.bz2 guix-49a21778db28105f0ea01e2e65686de963e954cc.zip |
.
Diffstat (limited to 'home/dots/.xinitrc')
-rwxr-xr-x | home/dots/.xinitrc | 16 |
1 files changed, 11 insertions, 5 deletions
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 |