Merge branch 'master' of github.com:Chizi123/Scripts
| | |
| | | #!/bin/sh |
| | | |
| | | if [ "$XDG_SESSION_TYPE" = "wayland" ]; then |
| | | TOOL=ydotool |
| | | else |
| | | TOOL=xdotool |
| | | fi |
| | | |
| | | if [ "$(pgrep autoclick | wc -l)" = "2" ]; then |
| | | true |
| | | else |
| | |
| | | fi |
| | | |
| | | while :; do |
| | | xdotool click --delay 100 --repeat 10 1 |
| | | $TOOL click 1 |
| | | sleep 0.1 |
| | | done |
| | | |
old mode 100644
new mode 100755
| | |
| | | GIT_DIRECTORY=/Eduardo/git |
| | | |
| | | for d in $GIT_DIRECTORY/*; do |
| | | if ! grep -q "mirror = true" $d/config; then |
| | | git -C $d remote update |
| | | if grep -q "mirror = true" $d/config; then |
| | | git -C "$d" remote update --prune |
| | | fi |
| | | done |