added directory support for dwb and awesome