Friday, August 9, 2024

straight to i3 no lightdm

sudo apt remove --purge lightdm
sudo apt autoremove
sudo apt install xinit
vim ~/.xinitrc
exec i3
vim ~/.profile
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
  startx
fi

for the i3 config i like to add

sudo apt-get install unclutter

#add to /.config/i3/config
exec --no-startup-id unclutter -idle 2

tired of waiting to enter commands apparently you can double pipe to true and its supposed to keep going even if one of the parts fails

sudo apt-get install -y vifm milkytracker cmus tmux git i3 w3m || true

that way just suppresses errors. looping over them might be better?

sudo apt-get update

# List of packages to install
packages=("vifm" "milkytracker" "cmus" "tmux" "git" "i3" "w3m" "schism")

# Install each package individually
for pkg in "${packages[@]}"; do
    echo "Installing $pkg..."
    sudo apt-get install -y $pkg || echo "Failed to install $pkg"
done

hide the mouse in i3

exec --no-startup-id -idle 2

No comments:

Post a Comment