Warning
The dotfiles are work in progres the instructions in this README may be outdated
- Arch Linux
- This repository checked out
- yay installed
- python installed
- python-yaml installed
You can do this all at once by running the following command:
curl -sSL https://raw.githubusercontent.com/jonas-be/dotfiles/main/pre-install.sh | bash
After satisfying the pre-requisites, you can install the dotfiles by running the following command:
python install.py
Then select what you want to install, by following the instructions of the program.
Follow the Hyprland Nvidia docs
This script asks you which groups of packages you want to install.
After you agreed with your selection, it will install the packages (with pacman and yay) and copy the dotfiles using dotcopy.py
.
In the pkgs.yaml
you can specify which packages and dotfiles should be installed.
Each group can have:
pkgs
arch packagesaurs
aur packagesdotfiles
dotfiles entries from theconfig.ini
file
Example:
nvim:
pkgs:
- clang
- neovim
dotfiles:
- nvim
hypr:
aurs:
- hyprland
- xdg-desktop-portal-hyprland
This script can copy dotfiles from the repo to their correct places on the host system by using the put
option.
It can also copy dotfiles from the host system to the repo by using the get
option.
In the config.ini
file, you can specify which files should be copied to which location.
# Example for a file
[zshrc]
source = .zshrc
destination = ~/.zshrc
file = true
# Example for a directory
[nvim]
source = .config/nvim
destination = ~/.config/nvim/
The usage is as follows:
# Copy dotfiles from the repo to the host system
python dotcopy.py put <entry>
# Copy dotfiles from the host system to the repo
python dotcopy.py get <entry>