I tried to make it minimal yet available to use all the tools I need and without refusing some decorations. It can be any distro (with some modifications) but I really like void at the moment for simplicity and minimalism. If you want to replicate something similar in void, install it on your computer and follow instructions below.
First thing after installation we need internet connection. If you have wired connection it is a little easier but setting up wireless is not hard at all:
# show network interfaces
ip link show
# copy wpa conf
cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf
# set up interface
ip link set up <interface_name>
# set network name and password
wpa_passphrase <ssid> <key> >> /etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf
# enable dhcpcd
ln -s /etc/sv/dhcpcd /var/service
# enable wpa_supplicant
ln -s /etc/sv/wpa_supplicant /var/service
# restart dhcpcd
sv restart dhcpcd
If wpa_supplicant
is not starting try:
wpa_supplicant -i <interface_name> -c /etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf
and check for errors.
Alternatively you can start wpa_supplicant
manually:
wpa_supplicant -B -i <interface_name> -c </etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf
dhcpcd <interface_name>
To make updating and installing packages fast we need to change mirror according to your region.
cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
vi /etc/xbps.d/*-repository-*.conf
# ex. change to singapore mirror
repository=https://void.webconverger.org/current
xbps-install -S
Before installing packages we need to update void. Run update command several times:
xbps-install -Su
- Clone this repo if you haven't already:
git clone https://github.com/lxhan/void.git
cd void
- If
git
is not installed:
sudo xbps-install -S git
- Inspect pkg.sh and then run it:
chmod +x pkg.sh
./pkg.sh
Attention! pkg.sh
contains only 2 commands: xbps-install -Syu
and xbps-install -Sy ...packages
. You can remove packages you don't need or add more. Script is only a shortcut so you don't have to type package names.
Install additional fonts for polybar:
chmod +x fonts/fonts.sh
./fonts/fonts.sh
To install configs go to void directory which you cloned in previous step:
cd ~/void/config
stow -t ~/ *
Now logout or reboot and hopefully you have something like this:
Remark: you may have to reboot several times and source .zshrc but eventually if you did everything right it should be almost the same as on screenshot except wallpaper.
- Void Linux Handbook
- Configuring wifi in Linux with wpa_supplicant
- GNU libc locales disabled by default
- Dotfiles examples
- Another void+bspwm implementation
- Dual monitor setup with BSPWM and Polybar
- How to set up a fresh Ubuntu desktop using only dotfiles and bash script
- Polybar themes
- Make installation process with one script
- Make distro agnostic