Move emacs repo sync to git-sync-all script
This commit is contained in:
parent
8637da6dc7
commit
ece96e046e
|
@ -88,7 +88,6 @@
|
|||
];
|
||||
exec-once = with config; [
|
||||
"${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${gtk.theme.name} ${toString gtk.cursorTheme.size}"
|
||||
"${programs.git.package}/bin/git -C $HOME/.emacs pull --ff-only"
|
||||
"${pkgs.swaynotificationcenter}/bin/swaync"
|
||||
"${pkgs.hyprpaper}/bin/hyprpaper"
|
||||
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
git -C $HOME/.emacs/ pull --ff-only
|
||||
|
||||
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
||||
echo "--- $DIRECTORY ---"
|
||||
mkdir -p $DIRECTORY
|
||||
cd $DIRECTORY
|
||||
git config --bool branch.main.sync true
|
||||
git-sync
|
||||
cd -
|
||||
echo "--- $DIRECTORY ---"
|
||||
mkdir -p $DIRECTORY
|
||||
cd $DIRECTORY
|
||||
git config --bool branch.main.sync true
|
||||
git-sync
|
||||
cd -
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue