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

19 lines
384 B
Bash
Raw Normal View History

#!/bin/sh
echo "~> Installing i3"
2018-01-09 16:16:51 +00:00
pacstrap /mnt i3 feh compton 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"
2018-01-09 16:16:51 +00:00
echo "compton -CGb" > $path/.xinitrc
2017-09-02 23:35:07 +00:00
echo "feh --bg-fill /etc/wallpapers/\$(ls /etc/wallpapers/ | 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