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; [
|
exec-once = with config; [
|
||||||
"${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${gtk.theme.name} ${toString gtk.cursorTheme.size}"
|
"${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.swaynotificationcenter}/bin/swaync"
|
||||||
"${pkgs.hyprpaper}/bin/hyprpaper"
|
"${pkgs.hyprpaper}/bin/hyprpaper"
|
||||||
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
|
"${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
|
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
||||||
echo "--- $DIRECTORY ---"
|
echo "--- $DIRECTORY ---"
|
||||||
mkdir -p $DIRECTORY
|
mkdir -p $DIRECTORY
|
||||||
cd $DIRECTORY
|
cd $DIRECTORY
|
||||||
git config --bool branch.main.sync true
|
git config --bool branch.main.sync true
|
||||||
git-sync
|
git-sync
|
||||||
cd -
|
cd -
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue