diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 2e659ddb..1f2209b5 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -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" diff --git a/home/scripts/git-sync-all.sh b/home/scripts/git-sync-all.sh index 4b749b74..2b644b09 100755 --- a/home/scripts/git-sync-all.sh +++ b/home/scripts/git-sync-all.sh @@ -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