arch-maride-flavour/flavours/i3.flavour/install.sh
2017-09-02 15:07:59 +02:00

19 lines
351 B
Bash
Executable File

#!/bin/sh
echo "~> Installing i3"
pacstrap /mnt i3 feh xcompmgr dmenu acpi
user=$(ls /mnt/home)
if [ "$user" == "" ]; then
path="/mnt/etc/skel/"
else
path="/mnt/home/$user/"
fi
echo "~> Creating .xinitrc"
echo "xcompmgr -c &" > $path/.xinitrc
echo "feh --bg-fill ~/background.jpg" >> $path/.xinitrc
echo "exec i3" >> $path/.xinitrc
amf_return=0