Skip to content

Commit

Permalink
Merge pull request #7 from stkevintan/patch-1
Browse files Browse the repository at this point in the history
Fix for a typo in the code after I changed the wallpaper directory name.
  • Loading branch information
setkeh committed Apr 10, 2016
2 parents b98ccda + f4bf0ef commit 5f1fd9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rc.lua
Expand Up @@ -139,11 +139,11 @@ tags = {
-- menu icon menu pdq 07-02-2012
local wallmenu = {}
local function wall_load(wall)
local f = io.popen('ln -sfn ' .. home_path .. '.config/awesome/wallpaper/' .. wall .. ' ' .. home_path .. '.config/awesome/themes/default/bg.png')
local f = io.popen('ln -sfn ' .. home_path .. '.config/awesome/wallpapers/' .. wall .. ' ' .. home_path .. '.config/awesome/themes/default/bg.png')
awesome.restart()
end
local function wall_menu()
local f = io.popen('ls -1 ' .. home_path .. '.config/awesome/wallpaper/')
local f = io.popen('ls -1 ' .. home_path .. '.config/awesome/wallpapers/')
for l in f:lines() do
local item = { l, function () wall_load(l) end }
table.insert(wallmenu, item)
Expand Down

0 comments on commit 5f1fd9f

Please sign in to comment.