Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonas-be/dotfiles
Dotfiles for my system
https://github.com/jonas-be/dotfiles
arch-linux dotfiles hyprland neovim zsh
Last synced: about 1 month ago
JSON representation
Dotfiles for my system
- Host: GitHub
- URL: https://github.com/jonas-be/dotfiles
- Owner: jonas-be
- License: mit
- Created: 2023-06-29T08:54:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-17T00:44:56.000Z (6 months ago)
- Last Synced: 2024-11-07T18:15:07.381Z (3 months ago)
- Topics: arch-linux, dotfiles, hyprland, neovim, zsh
- Language: Python
- Homepage:
- Size: 3.77 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotfiles
> [!WARNING]
> The dotfiles are work in progres the instructions in this README may be outdated## Pre-requisites
- Arch Linux
- This repository checked out
- yay installed
- python installed
- python-yaml installedYou can do this all at once by running the following command:
```bash
curl -sSL https://raw.githubusercontent.com/jonas-be/dotfiles/main/pre-install.sh | bash
```## Install
After satisfying the pre-requisites, you can install the dotfiles by running the following command:
```bash
python install.py
```Then select what you want to install, by following the instructions of the program.
## Watch out Nvidia users
Follow the [Hyprland Nvidia docs](https://wiki.hyprland.org/Nvidia/)
## What it does?
### install.py
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 packages
- `aurs` aur packages
- `dotfiles` dotfiles entries from the `config.ini` fileExample:
```yaml
nvim:
pkgs:
- clang
- neovim
dotfiles:
- nvimhypr:
aurs:
- hyprland
- xdg-desktop-portal-hyprland
```### dotcopy.py
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.
```ini
# 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:
```bash
# Copy dotfiles from the repo to the host system
python dotcopy.py put
# Copy dotfiles from the host system to the repo
python dotcopy.py get
```