19 lines
384 B
Bash
Executable File
19 lines
384 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "~> Installing i3"
|
|
pacstrap /mnt i3 feh compton dmenu acpi
|
|
|
|
user=$(ls /mnt/home)
|
|
if [ "$user" == "" ]; then
|
|
path="/mnt/etc/skel/"
|
|
else
|
|
path="/mnt/home/$user/"
|
|
fi
|
|
|
|
echo "~> Creating .xinitrc"
|
|
echo "compton -CGb" > $path/.xinitrc
|
|
echo "feh --bg-fill /etc/wallpapers/\$(ls /etc/wallpapers/ | shuf -n 1)" >> $path/.xinitrc
|
|
echo "exec i3" >> $path/.xinitrc
|
|
|
|
amf_return=0
|