my laptop linux setup. not void.

**a lot of stuff I haven't got my hands on yet**

## Void setup (installs everything needed below too)

todo: make it an sh script

todos

ly build script

waybar build script with tray and network


some stuff not from xbps here
```sh
# vesktop
mkdir -p ~/bin
cd ~/bin
curl -JL https://vencord.dev/download/vesktop/amd64/tar -o vesktop.tar.gz
tar xvf vesktop.tar.gz
rm vesktop.tar.gz
ln -s "$(realpath vesktop/vesktop)" /usr/bin/vesktop
cat > ~/.local/share/applications/vesktop.desktop <<'EOF'
[Desktop Entry]
Name=Vesktop
Comment=Discord client
Exec=/usr/bin/vesktop
Icon=utilities-terminal
Type=Application
Categories=Network;
Terminal=false
StartupNotify=true
StartupWMClass=vesktop
EOF

# flatpak cus vlc and spotify are shit outside of it
sudo xbps-install -S flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub org.videolan.VLC com.spotify.Client

# spotify fix
# may need a reboot after flatpak installation
bash <(curl -sSL https://spotx-official.github.io/run.sh) -fh
```

NVIDIA
```sh
sudo xbps-install -Sy nvidia nvidia-libs nvidia-libs-32bit
```

AMD
```sh
xbps-install -Sy mesa mesa-dri mesa-dri-32bit mesa-vulkan-radeon mesa-vulkan-radeon-32bit
```

INTEL
```sh
xbps-install -Sy mesa mesa-dri mesa-dri-32bit mesa-vulkan-intel mesa-vulkan-intel-32bit
```

### VM
#### dwm
add stuff here after setup

## Nvim setup 

if happened to use arch:
```sh
sudo pacman -Syu --noconfirm && sudo pacman -S --noconfirm clang nodejs npm python-pip git unzip neovim
```

then install packer

```sh
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim
```

Then nvim into nvim/packer.lua
and run these in order:
```
:so
:PackerSync
```

Restart neovim. Wait for everything to install.

### Rust

***DONT INSTALL rust-analyzer WITH MASON.***
Just use this
```sh
rustup component add rust-src
rustup component add rust-analyzer
```
