diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2014-05-08 07:34:17 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2014-05-08 07:34:17 -0700 |
commit | 684cb866562f4af2f0881515b1ef92f7937cfd0d (patch) | |
tree | 311e1b68534906bbb748e5ffeb6d8e1dc44d09b5 | |
parent | 26ddb038b8a6ba11942bfaa5ed8469c97d754a6a (diff) |
Switching offlineimap to kerberos
-rwxr-xr-x | lock | 3 | ||||
-rwxr-xr-x | offlineimap-wrapper.sh | 7 |
2 files changed, 4 insertions, 6 deletions
@@ -12,7 +12,8 @@ if pgrep pidgin &> /dev/null; then purple-remote 'setstatus?status=away&message=Away' fi -i3lock -n -i $HOME/.wallpapers/lock.png --color=0e0e0e -u -m +#i3lock -n -i $HOME/.wallpapers/lock.png --color=0e0e0e -u -m +xscreensaver-command -lock if pgrep pidgin &> /dev/null; then purple-remote 'setstatus?status='"$currentStatus"'&message='"$currentStatusMessage" diff --git a/offlineimap-wrapper.sh b/offlineimap-wrapper.sh index bc60571..487747f 100755 --- a/offlineimap-wrapper.sh +++ b/offlineimap-wrapper.sh @@ -1,7 +1,4 @@ #!/bin/sh -. $HOME/.gpg-agent-info -export GPG_AGENT_INFO -export DISPLAY=:0 -/usr/bin/offlineimap >> $HOME/.offlineimap.log - +export KRB5CCNAME=$(cat $HOME/.KRB5CCNAME) +klist -s && /usr/bin/offlineimap >> $HOME/.offlineimap.log |