Switch to chezmoi

Update the README and remove dotdrop submodule.
This commit is contained in:
2025-09-15 10:16:50 +03:00
parent b67c32686f
commit c125d1ece8
3 changed files with 10 additions and 166 deletions

View File

@@ -1,26 +1,25 @@
# Alan's dotfiles
Alan's dotfiles are managed with [dotdrop](https://github.com/deadc0de6/dotdrop). To set up on a new Arch Linux machine install [dotdrop from AUR](https://aur.archlinux.org/packages/dotdrop) and do this:
Alan's dotfiles are managed with [chezmoi](https://www.chezmoi.io/).
## Setup on Arch Linux
Install [dotdrop from AUR](https://aur.archlinux.org/packages/dotdrop) and then install the dotfiles:
Install [`chezmoi` from the official package repository](https://archlinux.org/packages/?q=chezmoi):
```console
$ git clone --recursive https://git.mjanja.ch/alanorth/dotfiles.git
$ dotdrop install
$ sudo pacman -S chezmoi
```
## Setup on Other Linux
Bootstrap the repository's copy of dotdrop, prepare Python deps, and then install the dotfiles:
## Initialize dotfiles
```console
$ git clone --recursive https://git.mjanja.ch/alanorth/dotfiles.git
$ ./dotdrop/bootstrap.sh
$ pip3 install -r dotdrop/requirements.txt --user
$ ./dotdrop.sh install
$ chezmoi init
$ chezmoi cd
$ git remote add origin https://git.mjanja.ch/alanorth/dotfiles.git
$ git pull
$ chezmoi apply
```
## License
Copyright (C) 20152022 Alan Orth
Copyright (C) 20152025 Alan Orth
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -1,154 +0,0 @@
config:
backup: true
create: true
dotpath: dotfiles
dotfiles:
d_vim:
src: vim
dst: ~/.vim
f_vimrc:
src: vimrc
dst: ~/.vimrc
f_tmux.conf:
src: config/tmux/tmux.conf
dst: ~/.config/tmux/tmux.conf
f_foot.ini:
src: config/foot/foot.ini
dst: ~/.config/foot/foot.ini
f_mako_config:
src: config/mako/config
dst: ~/.config/mako/config
f_kanshi_config:
src: config/kanshi/config
dst: ~/.config/kanshi/config
d_wofi:
src: config/wofi
dst: ~/.config/wofi
f_zshrc:
src: zshrc
dst: ~/.zshrc
d_sway:
src: config/sway
dst: ~/.config/sway
f_kanshi.service:
src: config/systemd/user/kanshi.service
dst: ~/.config/systemd/user/kanshi.service
f_swayidle.service:
src: config/systemd/user/swayidle.service
dst: ~/.config/systemd/user/swayidle.service
f_wob.service:
src: config/systemd/user/wob.service
dst: ~/.config/systemd/user/wob.service
f_wob.socket:
src: config/systemd/user/wob.socket
dst: ~/.config/systemd/user/wob.socket
f_sway-session.target:
src: config/systemd/user/sway-session.target
dst: ~/.config/systemd/user/sway-session.target
f_psqlrc:
src: psqlrc
dst: ~/.psqlrc
f_bashrc:
src: bashrc
dst: ~/.bashrc
f_xdg_desktop_portal_wlr_config:
src: config/xdg-desktop-portal-wlr/config
dst: ~/.config/xdg-desktop-portal-wlr/config
f_geoclue-agent.service:
src: config/systemd/user/geoclue-agent.service
dst: ~/.config/systemd/user/geoclue-agent.service
d_local_bin:
src: local/bin
dst: ~/.local/bin
f_ssh_config:
src: ssh/config
dst: ~/.ssh/config
f_ssh-agent.service:
src: config/systemd/user/ssh-agent.service
dst: ~/.config/systemd/user/ssh-agent.service
d_waybar:
src: config/waybar
dst: ~/.config/waybar
f_fuzzel.ini:
src: config/fuzzel/fuzzel.ini
dst: ~/.config/fuzzel/fuzzel.ini
f_wezterm.lua:
src: wezterm.lua
dst: ~/.wezterm.lua
f_convert-libaom.sh:
src: local/bin/convert-libaom.sh
dst: ~/.local/bin/convert-libaom.sh
chmod: '755'
f_dark-mode-theme.sh:
src: local/share/dark-mode.d/01-gtk-theme.sh
dst: ~/.local/share/dark-mode.d/01-gtk-theme.sh
chmod: '755'
f_light-mode-theme.sh:
src: local/share/light-mode.d/01-gtk-theme.sh
dst: ~/.local/share/light-mode.d/01-gtk-theme.sh
chmod: '755'
f_darkman_config.yaml:
src: config/darkman/config.yaml
dst: ~/.config/darkman/config.yaml
profiles:
everywhere:
dotfiles:
- d_vim
- f_vimrc
- f_tmux.conf
- f_zshrc
balozi:
dotfiles:
- d_vim
- f_vimrc
- f_tmux.conf
- f_foot.ini
- f_mako_config
- f_kanshi_config
- d_wofi
- f_zshrc
- d_sway
- f_kanshi.service
- f_swayidle.service
- f_wob.service
- f_wob.socket
- f_sway-session.target
- f_psqlrc
- f_xdg_desktop_portal_wlr_config
- d_local_bin
- f_ssh-agent.service
- d_waybar
- f_fuzzel.ini
- f_wezterm.lua
- f_convert-libaom.sh
- f_dark-mode-theme.sh
- f_light-mode-theme.sh
- f_darkman_config.yaml
knafeh:
dotfiles:
- d_vim
- f_vimrc
- f_tmux.conf
- f_foot.ini
- f_mako_config
- f_kanshi_config
- d_wofi
- f_zshrc
- d_sway
- f_kanshi.service
- f_swayidle.service
- f_wob.service
- f_wob.socket
- f_sway-session.target
- f_psqlrc
- f_xdg_desktop_portal_wlr_config
- f_geoclue-agent.service
- d_local_bin
- f_ssh-agent.service
- d_waybar
- f_fuzzel.ini
- f_wezterm.lua
- f_convert-libaom.sh
- f_dark-mode-theme.sh
- f_light-mode-theme.sh
- f_darkman_config.yaml

Submodule dotdrop deleted from 296c179f62