mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-27 19:21:26 +00:00
Merge branch 'master' of github.com:brunofontes/linuxShortcuts
This commit is contained in:
commit
5d37b4e886
0
Egnyte/egnyteToPath.sh
Normal file → Executable file
0
Egnyte/egnyteToPath.sh
Normal file → Executable file
@ -18,6 +18,7 @@ s "echo '**********'"
|
|||||||
|
|
||||||
bold "Pacman-mirrors -c"
|
bold "Pacman-mirrors -c"
|
||||||
s "pacman-mirrors -c Brazil"
|
s "pacman-mirrors -c Brazil"
|
||||||
|
s "reflector -l 30 -f 10 --save /etc/pacman.d/mirrorlist"
|
||||||
|
|
||||||
#bold "Updating with PACMAN..."
|
#bold "Updating with PACMAN..."
|
||||||
s "echo"
|
s "echo"
|
||||||
|
10
Services/after-wakeup.service
Normal file
10
Services/after-wakeup.service
Normal 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
|
11
Services/before-sleep.service
Normal file
11
Services/before-sleep.service
Normal 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
|
Loading…
Reference in New Issue
Block a user