From: Mart Lubbers Date: Thu, 8 May 2014 09:57:18 +0000 (+0200) Subject: muttrc with gpg agent X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=47735096a1a41b40d032d2c9533f8fbf1793ddce;p=dotfiles.git muttrc with gpg agent --- diff --git a/i3/config b/i3/config index 2f58a6f..7caa49f 100644 --- a/i3/config +++ b/i3/config @@ -8,7 +8,7 @@ # i3 config file (v4) # # Please see http://i3wm.org/docs/userguide.html for a complete reference! -exec xautolock -time 15 -locker 'i3lock -i <(import -window root - | convert - -blur 10x2 png:-)' +exec xautolock -time 15 -locker 'bash -c "i3lock -i <(import -window root - | convert - -blur 10x2 png:-)"' exec xrdb ~/.Xresources set $mod Mod4 @@ -39,8 +39,13 @@ bindsym $mod+Shift+quotedbl kill # start dmenu (a program launcher) bindsym $mod+e exec dmenu_run + +# place and update the calendar background bindsym $mod+Shift+E exec convert -background black -fill white -size 1600x900 -font /usr/share/fonts/truetype/unifont/unifont.ttf label:"$(gcalcli --nc calw)" png:- | display -window root +# lock the machine +bindsym $mod+l exec xautolock -locknow + # change focus bindsym $mod+h focus left bindsym $mod+t focus down diff --git a/muttrc b/muttrc index 8ed4a1a..ed9508f 100644 --- a/muttrc +++ b/muttrc @@ -5,7 +5,7 @@ set envelope_from=yes set my_hdr="X-PGP-Key: http://www.martlubbers.net/mart@martlubbers.net.asc" # Receiving and sending email -set my_msmtp_pass=`gpg -d ~/passwd.gpg | grep -i mail | awk '{print $3}'; echo $?` +set my_msmtp_pass=`gpg -d ~/passwd.gpg | grep -i mail | awk '{print $3}'` set sendmail="/usr/local/bin/msmtp -C /home/mart/.mutt/msmtp --password=$my_msmtp_pass -f mart@martlubbers.net -a net" # Bindings index