diff options
-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 |