No proxy for securemail

This commit is contained in:
Nico Schottelius 2017-10-09 13:31:37 +02:00
parent c712c0f8f2
commit 6db6648a4c
4 changed files with 12 additions and 12 deletions

View file

@ -36,16 +36,17 @@ fi
# -R :4242:localhost:22 \
ssh -T -f -C -N \
-L2323:mx.ungleich.ch:$IMAPS \
-L4241:mx.ungleich.ch:$SMTP \
-L[::1]:2323:localhost:$IMAPS \
-L[::1]:4241:localhost:$SMTP \
-L2324:imap.googlemail.com:$IMAPS \
-L2325:mail.zhaw.ch:$IMAPS \
-L2326:imap.googlemail.com:$POP3S \
-D 3128 "$@" \
"$HOST" && sendmail -q
# Fernzugriff
# ssh -T -f -C -N -R4242:localhost:22 "$HOST"
# -D 3128 "$@" \
#ssh -T -f -C -N -L2342:mx2.schottelius.org:$SMTP 62.65.138.66
#ssh -T -f -C -N -L4242:imaps.schottelius.org:$IMAPS "$HOST"

View file

@ -3,12 +3,10 @@
# Restore layouts
i3-msg 'workspace 1; append_layout ~/.i3/workspace-1.json'
i3-msg 'workspace 2; append_layout ~/.i3/workspace-2.json'
i3-msg 'workspace 10'
# Start programs afterwards and watch matching
chromium &
# slack &
#firefox &
#choqok &
ssh-add </dev/null && mainemacs &

View file

@ -17,14 +17,15 @@ fi
xsetwacom --set "Wacom HID 484C Finger touch" MapToOutput "$display"
xsetwacom --set "Wacom HID 484C Pen stylus" MapToOutput "$display"
exit 0
if xinput list | grep -q Bamboo; then
devfinger="Wacom Bamboo 16FG 4x5 Finger touch"
devfinger="Wacom Bamboo 16FG 4x5 Finger"
xinput set-prop "$devfinger" "Device Enabled" 0
xinput set-prop "$devfinger" "Device Enabled" 0
xsetwacom --set "Wacom Bamboo 16FG 4x5 Pen stylus" MapToOutput $display
xsetwacom --set "Wacom Bamboo 16FG 4x5 Pen eraser" MapToOutput $display
#xsetwacom --set "Wacom Bamboo 16FG 4x5 Pen stylus" MapToOutput $display
#xsetwacom --set "Wacom Bamboo 16FG 4x5 Pen eraser" MapToOutput $display
fi
exit 0

View file

@ -16,4 +16,4 @@ arrival="2017-09-25"; event="euler-reinstallation"
export arrival event
python3 -c 'import os; import datetime; day=datetime.datetime.strptime(os.environ["arrival"], "%Y-%m-%d"); delta = day - datetime.datetime.now(); print("%s is %sd away" % (os.environ["event"], delta.days + 1))'
# python3 -c 'import os; import datetime; day=datetime.datetime.strptime(os.environ["arrival"], "%Y-%m-%d"); delta = day - datetime.datetime.now(); print("%s is %sd away" % (os.environ["event"], delta.days + 1))'