setup: add package list and create directory if they don't exist

This commit is contained in:
Vincent Bernat 2012-11-06 11:51:56 +01:00
parent cbf4695a21
commit 37e0594248
3 changed files with 26 additions and 0 deletions

4
rc.lua
View file

@ -38,6 +38,10 @@ end
loadrc("errors") -- errors and debug stuff
-- Create cache directory
os.execute("test -d " .. awful.util.getdir("cache") ..
" || mkdir -p " .. awful.util.getdir("cache"))
-- Global configuration
modkey = "Mod4"
config = {}