diff --git a/README.md b/README.md index d104980..11d85e1 100644 --- a/README.md +++ b/README.md @@ -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) 2015–2022 Alan Orth +Copyright (C) 2015–2025 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 diff --git a/config.yaml b/config.yaml deleted file mode 100644 index 2e85d85..0000000 --- a/config.yaml +++ /dev/null @@ -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 diff --git a/dotdrop b/dotdrop deleted file mode 160000 index 296c179..0000000 --- a/dotdrop +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 296c179f626397e6e53da9ae51d5108e0f11cf59