2017-08-07 14:30:30 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
echo "~> Installing i3"
|
|
|
|
pacstrap /mnt i3 feh xcompmgr dmenu acpi
|
|
|
|
|
2017-08-10 19:24:32 +00:00
|
|
|
user=$(ls /mnt/home)
|
|
|
|
if [ "$user" == "" ]; then
|
|
|
|
path="/mnt/etc/skel/"
|
|
|
|
else
|
|
|
|
path="/mnt/home/$user/"
|
|
|
|
fi
|
|
|
|
|
2017-08-07 14:30:30 +00:00
|
|
|
echo "~> Creating .xinitrc"
|
2017-08-10 19:24:32 +00:00
|
|
|
echo "xcompmgr -c &" > $path/.xinitrc
|
|
|
|
echo "feh --bg-fill ~/background.jpg" >> $path/.xinitrc
|
|
|
|
echo "exec i3" >> $path/.xinitrc
|