muttrc with gpg agent
[dotfiles.git] / i3 / config
index 53df13a..7caa49f 100644 (file)
--- a/i3/config
+++ b/i3/config
@@ -8,12 +8,8 @@
 # i3 config file (v4)
 #
 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
-exec dropbox start
-exec xautolock -time 15 -locker 'lock'
-#exec while [ 1 ]; do offlineimap -c /home/mart/.mutt/offlineimaprc; done
-exec /home/mart/.software/xflux -l 51.8125626 -g 5.8372264
-exec xcompmgr
-exec feh --no-fehbg --bg-scale '/usr/share/slim/themes/default/background.jpg'
+exec xautolock -time 15 -locker 'bash -c "i3lock -i <(import -window root - | convert - -blur 10x2 png:-)"'
+exec xrdb ~/.Xresources
 
 set $mod Mod4
 
@@ -29,7 +25,7 @@ bindsym XF86AudioStop exec mpc stop >> /dev/null
 bindsym XF86AudioPrev exec mpc prev >> /dev/null
 bindsym XF86AudioNext exec mpc next >> /dev/null
 
-bindsym Print exec scrot
+#bindsym Print exec scrot
 
 # volume controls
 bindsym XF86AudioRaiseVolume exec amixer set Master 5+ >> /dev/null
@@ -44,6 +40,12 @@ 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