diff options
| author | Freya Murphy <freya@freyacat.org> | 2023-11-27 13:03:12 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2023-11-27 13:03:12 -0500 |
| commit | 849ab46bd68fd8e8c275cfa8b918a16cfcd59642 (patch) | |
| tree | 0e6d10d74c6e5096ab8b6c725eb475949edb20fb /.local/bin | |
| download | dotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.tar.gz dotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.tar.bz2 dotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.zip | |
initial
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/dotfiles | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles new file mode 100755 index 0000000..7eb2ef3 --- /dev/null +++ b/.local/bin/dotfiles @@ -0,0 +1,38 @@ +#!/bin/sh + +config="/usr/bin/git --git-dir=$HOME/.cfg --work-tree=$HOME" + +$config add "$XDG_CONFIG_HOME/alacritty" +$config add "$XDG_CONFIG_HOME/fontconfig" +$config add "$XDG_CONFIG_HOME/gtk-3.0" +$config add "$XDG_CONFIG_HOME/gtk-4.0" +$config add "$XDG_CONFIG_HOME/hypr" +$config add "$XDG_CONFIG_HOME/mako" +$config add "$XDG_CONFIG_HOME/nvim" +$config add "$XDG_CONFIG_HOME/sway" +$config add "$XDG_CONFIG_HOME/waybar" +$config add "$XDG_CONFIG_HOME/wofi" +$config add "$XDG_CONFIG_HOME/mimeapps.list" +$config add "$XDG_CONFIG_HOME/pfetch_logos" +$config add "$XDG_CONFIG_HOME/starship.toml" +$config add "$XDG_CONFIG_HOME/user-dirs.dirs" +$config add "$HOME/.gtkrc-2.0" +$config add "$HOME/.gnupg/gpg-agent.conf" +$config add "$HOME/.gitconfig" +$config add "$HOME/.zshrc" +$config add "$HOME/.zprofile" +$config add "$HOME/.local/share/fonts" +$config add "$HOME/.local/bin/dotfiles" +$config add "$HOME/.ssh/config" + +aur="$HOME/aur" +packages="$HOME/packages" + +paru -Qqm > $aur +pacman -Qq | grep -vf "$aur" > "$packages" + +$config add "$aur" +$config add "$packages" + +rm "$aur" +rm "$packages" |