diff --git a/Egnyte/egnyteToPath.sh b/Egnyte/egnyteToPath.sh old mode 100644 new mode 100755 diff --git a/Pacman/updateRepositories.sh b/Pacman/updateRepositories.sh index 499fcd9..128cf15 100755 --- a/Pacman/updateRepositories.sh +++ b/Pacman/updateRepositories.sh @@ -18,6 +18,7 @@ s "echo '**********'" bold "Pacman-mirrors -c" s "pacman-mirrors -c Brazil" +s "reflector -l 30 -f 10 --save /etc/pacman.d/mirrorlist" #bold "Updating with PACMAN..." s "echo" diff --git a/Services/after-wakeup.service b/Services/after-wakeup.service new file mode 100644 index 0000000..9fdb467 --- /dev/null +++ b/Services/after-wakeup.service @@ -0,0 +1,10 @@ +[Unit] +Description=Bruno Fontes script after wakeup +After=suspend.target + +[Service] +Type=simple +ExecStart=/usr/bin/systemctl restart openvpn-client@privatvpn.service + +[Install] +WantedBy=suspend.target diff --git a/Services/before-sleep.service b/Services/before-sleep.service new file mode 100644 index 0000000..272fee2 --- /dev/null +++ b/Services/before-sleep.service @@ -0,0 +1,11 @@ +[Unit] +Description=Bruno Fontes script before sleep +Before=sleep.target + +[Service] +Type=oneshot +Environment=DISPLAY=:0 +ExecStart=echo "" + +[Install] +WantedBy=sleep.target