ln -sfT $(APATH)/yay $(XDG_CONFIG_HOME)/yay
mkdir -p $(XDG_CACHE_HOME)/yay
-xinit: $(XDG_CONFIG_HOME)
+xinit: $(XDG_CONFIG_HOME) xprofile
ln -sfT $(APATH)/$@rc ~/.$@rc
ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
.PHONY: xinit
+xprofile: $(XDG_CONFIG_HOME)
+ ln -sfT $(APATH)/$@ ~/.$@
+ ln -sfT $(APATH)/$@.d $(XDG_CONFIG_HOME)/$@.d
+.PHONY: xprofile
+
wakeonlan: $(XDG_CONFIG_HOME)
ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
.PHONY: wakeonlan
userresources=$XDG_CONFIG_HOME/xinit/Xresources
userresources_d=$XDG_CONFIG_HOME/xinit/Xresources.d
usermodmap=$HOME/.Xmodmap
-userprofile_d=$XDG_CONFIG_HOME/xinit/xprofile.d
+userprofile=$HOME/.xprofile
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
unset f
fi
-if [ -d "$userprofile_d" ] ; then
- for f in $userprofile_d/?*.sh ; do
- [ -f "$f" ] && source "$f"
- done
- unset f
-fi
-
if [ -f "$userprofile" ]; then
source "$userprofile"
fi
--- /dev/null
+#!/bin/sh
+
+userprofile_d=$XDG_CONFIG_HOME/xprofile.d
+
+if [ -d "$userprofile_d" ] ; then
+ for f in $userprofile_d/?*.sh ; do
+ [ -f "$f" ] && source "$f"
+ done
+ unset f
+fi