From d92a3fa3a0969f1353bd7258bd48fe10abf4bdae Mon Sep 17 00:00:00 2001 From: holly sparkles Date: Sun, 28 Apr 2024 20:38:45 +0200 Subject: [PATCH] add script to sync dotfiles one-way sync for now --- sync.zsh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 sync.zsh diff --git a/sync.zsh b/sync.zsh new file mode 100755 index 0000000..993862e --- /dev/null +++ b/sync.zsh @@ -0,0 +1,21 @@ +#!/bin/env zsh + +DOTFILES_DIR=. + +# dir structure +mkdir -p "${DOTFILES_DIR}/.config/gtk-3.0" +mkdir -p "${DOTFILES_DIR}/.config/helix" +mkdir -p "${DOTFILES_DIR}/.config/kitty" +mkdir -p "${DOTFILES_DIR}/.config/zellij" +mkdir -p "${DOTFILES_DIR}/.scripts" + +# configs +cp -v $HOME/.zshrc $DOTFILES_DIR/.zshrc +cp -v $HOME/.config/gtk-3.0/gtk.css $DOTFILES_DIR/.config/gtk-3.0/gtk.css +cp -v $HOME/.config/helix/config.toml $DOTFILES_DIR/.config/helix/config.toml +cp -v $HOME/.config/kitty/kitty.conf $DOTFILES_DIR/.config/kitty/kitty.conf +cp -vr $HOME/.config/zellij/ $DOTFILES_DIR/.config/ + +# scripts +cp -v $SCRIPTS/calendar.sh $DOTFILES_DIR/.scripts/calendar.sh +cp -v $SCRIPTS/zellij-launcher.zsh $DOTFILES_DIR/.scripts/zellij-launcher.zsh -- libgit2 1.7.2