# 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 - -scale 40% -scale 250% png:-)'
+exec xautolock -time 15 -locker 'bash -c "i3lock -i <(import -window root - | convert - -blur 10x2 png:-)"'
exec xrdb ~/.Xresources
set $mod Mod4
# 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