i3 setup on Arch Linux or EndeavourOS
- Clone this repo
cd
into thehome/.setup
folder
There you can run a number of different scripts which will copy the needed files into their respective folders in your home.
Tasks after installing the packages and copying configs:
- Install junegunn/vim-plug, a vim plugin manager.
- Run
.config/nvim/autoload/install-plug-vim.sh
- Open
nvim
- Type
:PlugInstall
hit enter
- Run
- Install
starship
for a better shell and prompt - Install zsh plugins
- Run
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/plugins/zsh-syntax-highlighting/
- Run
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
- Run
- Change your shell using
chsh -s $(which zsh)
log out and back in, or reboot - Perform all or most of the steps described in the following chapters
Common issue is that KDE and GTK application dont have theme when using i3. You need to install and setup qt6ct and lxappearance as described below.
- Install the
qt6ct
andbreeze
packages - Open
qt6ct
and set the breeze and the font you want - Save and close
- Edit the
/etc/environment
file and add the lineQT_QPA_PLATFORMTHEME=qt6ct
at the end. If the key already exists with theqt5ct
value, you can replace it withqt6ct
- Reboot your system
-
Install the
-
Install the
lxappearance
and thebreeze-gtk
packages -
run
lxappearance
and change the theme -
Save and close
-
Reboot your system
The following fonts are being used in this setup:
ttf-ibm-plex
ttf-hack-nerd
I use github.com/polybar/polybar as a status bar in my i3 setup. The following modules require specific packages or setup.
Will print the number of available updates for your system. Requires the pacman-contrib
package to be installed.
Will show your current local ip, upload and download usage. You need to change the interfaces it uses in the .config/polybar/config
file. You can get the available interfaces using ip link
.
Will tell you that a webcam is currently connected! It will not tell you if its in use! By using right click you can see the current view of the camera, this requires the zvbi
package.
Use this to change your backlight brightness on your laptop. You need to install the light
package for this. Make sure to add your user to the video
group using sudo usermod -a -G video <username>
and log in again after this. Now you can change the brightness without using sudo.
This requires my custom weather widget c-jaenicke/weather-go.
Shows the current gold and silver price. Requires my custom c-jaenicke/go-silver-gold-tracker widget.
Requires:
brlaser \
brother-dcp1610w \
brscan4 \
cups \
cups-pdf \
sane \
sane-airscan \
skanlite \
You can add the scanner using sudo brsaneconfig4 -a name=<NAME OF PRINTER> model=<MODEL> nodename=<HOSTNAME OF PRINTER>
.
You can try adding the printer automatically using the CUPS web interface. Alternatively you can add it manually using the web interface using the address ipp://<HOSTNAME>/ipp/port1
.
This might not work for you because printers are great.
On some setups Konsole renders huge whitespaces between words. This is a font issue. To fix this you have to create a new profile in the Konsole settings and set the font to a monospace font! Save the profile and set is as the default.
Add or edit the line Xft.dpi: 192
to the home/.Xresources
file. Exit the session and log in again.
Sometimes fixed by installing kwalletmanager
and kwallet-pam
. Sometimes just installing kwalletmanager
, opening it, unlocking the keyring, and then log into the application.
git ls-tree -r --name-only HEAD home| tree --fromfile -a | awk '!/directories|^$/ {print $0}'
git ls-tree -r --name-only HEAD home| tree --fromfile -a | awk '!/directories|^$/ {print $0}' > home/files.txt