Merge branch 'master' of github.com:brunofontes/linuxShortcuts

This commit is contained in:
Bruno F. Fontes 2018-11-19 19:22:12 -02:00
commit 5d37b4e886
Signed by: brunofontes
GPG Key ID: EE3447CE80048495
4 changed files with 22 additions and 0 deletions

0
Egnyte/egnyteToPath.sh Normal file → Executable file
View File

View File

@ -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"

View File

@ -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

View File

@ -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