1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Merge branch 'master' of github.com:alrayyes/dotfiles

This commit is contained in:
Ryan Kes 2019-10-18 13:41:35 +02:00
commit 6ccd0e7bd1
3 changed files with 9 additions and 21 deletions

2
.gitignore vendored
View File

@ -22,3 +22,5 @@ newsboat/.newsboat/history.search
mutt/.config/mutt/.mailsynclastrun mutt/.config/mutt/.mailsynclastrun
gtk/.config/gtk-3.0/bookmarks gtk/.config/gtk-3.0/bookmarks
mpd/.config/mpd/pid

View File

@ -8,13 +8,11 @@ STATUS="$(nmcli device status | grep -c wg0)"
case $STATUS in case $STATUS in
1) 1)
sudo wg-quick down wg0 | notify-send sudo wg-quick down wg0
sudo wg-quick down wg1
notify-send 'Wireguard Down' notify-send 'Wireguard Down'
;; ;;
*) *)
sudo wg-quick up wg0 sudo wg-quick up wg0
sudo wg-quick up wg1
notify-send 'Wireguard Up' notify-send 'Wireguard Up'
;; ;;
esac esac

View File

@ -1,22 +1,10 @@
[name]
name = Ryan
email = ryan@andthensome.nl
[core] [core]
editor = nvim editor = emacs
excludesfile = /home/alrayyes/.gitignore_global excludesfile = /home/alrayyes/.gitignore_global
[push]
default = matching
[user] [user]
email = alrayyes@gmail.com email = ryan@ryankes.eu
name = Ryan Kes name = Ryan Kes
signingkey = alrayyes@gmail.com signingkey = ryan@ryankes.eu
[sendemail] useconfigonly = true
confirm = auto [push]
default = matching
[sendemail]
smtpEncryption = tls
smtpServer = /usr/bin/msmtp
confirm = auto
chainreplyto = false