mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-06 00:04:20 +02:00
rc: simplify cache dir creation
No need to test if directory exists, `mkdir -p` already does that.
This commit is contained in:
parent
0d3dca998b
commit
9150313d7a
1 changed files with 1 additions and 2 deletions
3
rc.lua
3
rc.lua
|
@ -39,8 +39,7 @@ end
|
|||
loadrc("errors") -- errors and debug stuff
|
||||
|
||||
-- Create cache directory
|
||||
os.execute("test -d " .. awful.util.getdir("cache") ..
|
||||
" || mkdir -p " .. awful.util.getdir("cache"))
|
||||
os.execute("mkdir -p " .. awful.util.getdir("cache"))
|
||||
|
||||
-- Setup xsettings
|
||||
os.execute("~/.config/awesome/bin/xsettingsd-setup")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue