xinitrc (627B)
1 #!/bin/sh 2 3 readonly user_resources="${HOME}/.config/X11/Xresources" 4 readonly user_modmap="${HOME}/.config/X11/xmodmap" 5 readonly sys_resources="/etc/X11/xinit/.Xresources" 6 readonly sys_modmap="/etc/X11/xinit/.Xmodmap" 7 8 if [ -f "$sys_resources" ]; then 9 xrdb -merge "$sys_resources" 10 fi 11 12 if [ -f "$sys_modmap" ]; then 13 xmodmap "$sys_modmap" 14 fi 15 16 if [ -f "$user_resources" ]; then 17 xrdb -merge "$user_resources" 18 fi 19 20 systemctl --user import-environment DISPLAY PATH XAUTHORITY 21 22 if command -v dbus-update-activation-environment >/dev/null 2>&1; then 23 dbus-update-activation-environment DISPLAY PATH XAUTHORITY 24 fi 25 26 exec i3