From 684cb866562f4af2f0881515b1ef92f7937cfd0d Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Thu, 8 May 2014 07:34:17 -0700 Subject: Switching offlineimap to kerberos --- lock | 3 ++- offlineimap-wrapper.sh | 7 ++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lock b/lock index fa83f9e..8da4e85 100755 --- a/lock +++ b/lock @@ -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 -- cgit v1.2.3