mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-01-28 18:47:12 +08:00
17 lines
360 B
Bash
17 lines
360 B
Bash
#!/bin/sh
|
|
|
|
resources=${XDG_CONFIG_HOME}/X11/resources
|
|
if [ -f "$resources" ]; then xrdb -merge "$resources"; fi
|
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
|
[ -x "$f" ] && source "$f"
|
|
done; unset f
|
|
fi
|
|
|
|
source ${XDG_CONFIG_HOME}/X11/profile
|
|
|
|
systemctl start --user Xorg.target
|
|
|
|
if [[ -n "$@" ]]; then
|
|
exec "$@"
|
|
fi
|