diff --git a/git_auto_pull.sh b/git_auto_pull.sh index b4b4a78..02cacd7 100755 --- a/git_auto_pull.sh +++ b/git_auto_pull.sh @@ -14,6 +14,10 @@ for gitrepo in `find ./ -maxdepth 3 -type d -name ".git" | sed 's/\/.git\+$//'`; do cd $gitrepo echo $gitrepo + if [ -e do_not_auto_check ]; then + cd - > /dev/null + continue + fi; git status git pull 2>/dev/null diff --git a/xinitrc b/xinitrc index 47b032a..1fafdcb 100644 --- a/xinitrc +++ b/xinitrc @@ -31,7 +31,7 @@ while true; do $OCTOPUS wallpaper sleep 240 done & - +xautolock -time 60 -locker "systemctl suspend" & exec /home/frank/Programmation/dotfiles/dwm/dwm