jammy-setup/i3wm.sh

39 lines
1.2 KiB
Bash
Executable File

################################################################################
################################################################################
################################################################################
# Install i3wm
# Make directories
mkdir -p ~/.config/i3
mkdir -p ~/.config/polybar
# Copy Config Files
cat home/luc_lagarde/.config/i3/config > ~/.config/i3/config
cat home/luc_lagarde/.config/polybar/launch.sh > ~/.config/polybar/launch.sh
cat home/luc_lagarde/.config/polybar/config > ~/.config/polybar/config
chmod +x ~/.config/polybar/launch.sh
# Download Fonts and Polybar
DIR=`pwd`
cd ~
git clone https://github.com/stark/siji
cd siji
./install.sh
cd ~
rm -rf fontawesome-free-6.2.0-desktop
wget https://use.fontawesome.com/releases/v6.2.0/fontawesome-free-6.2.0-desktop.zip
unzip fontawesome-free-6.2.0-desktop.zip
cd fontawesome-free-6.2.0-desktop/otfs
cp *.otf ~/.local/share/fonts
#git clone https://github.com/polybar/polybar
cd $DIR
# TODO: feh xbacklight nvidia-settings pactl rofi i3lock
sudo nala install -y i3 rofi polybar shutter pavucontrol
# Allow bitmap fonts and update
sudo rm /etc/fonts/conf.d/70-no-bitmaps.conf && sudo fc-cache -f -v