arch-maride-flavour/flavours/i3.flavour/install.sh

19 lines
386 B
Bash
Raw Normal View History

#!/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
echo "~> Creating .xinitrc"
2017-08-10 19:24:32 +00:00
echo "xcompmgr -c &" > $path/.xinitrc
echo "feh --bg-fill /etc/wallpaper/\$\(ls /etc/wallpaper/ | shuf -n 1\)" >> $path/.xinitrc
2017-08-10 19:24:32 +00:00
echo "exec i3" >> $path/.xinitrc
2017-09-02 13:07:59 +00:00
amf_return=0