mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
Fixed missing lua modules
This commit is contained in:
parent
6f105dea97
commit
a7e02d70fb
3 changed files with 15 additions and 9 deletions
|
@ -30,7 +30,7 @@ menu_conf.init = function(
|
|||
{ "manual", terminal .. " -e man awesome" },
|
||||
{ "edit config", editor_cmd .. " " .. awesome.conffile },
|
||||
{ "restart", awesome.restart },
|
||||
-- { "quit", function() awesome.quit() end },
|
||||
{ "quit", function() awesome.quit() end },
|
||||
}
|
||||
|
||||
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
||||
|
|
|
@ -57,14 +57,15 @@ beautiful.init(string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv
|
|||
|
||||
-- scan directory, and optionally filter outputs
|
||||
function scandir(directory)
|
||||
local i, fileList, popen = 0, {}, io.popen
|
||||
for filename in popen([[find "]] ..directory.. [[" -type f]]):lines() do
|
||||
local i, t, popen = 0, {}, io.popen
|
||||
local pfile = popen('ls -a "'..directory..'"')
|
||||
for filename in pfile:lines() do
|
||||
i = i + 1
|
||||
fileList[i] = filename
|
||||
t[i] = filename
|
||||
end
|
||||
return fileList
|
||||
pfile:close()
|
||||
return t
|
||||
end
|
||||
|
||||
-- }}}
|
||||
|
||||
-- configuration - edit to your liking
|
||||
|
|
|
@ -21,7 +21,12 @@ in
|
|||
{
|
||||
xsession = {
|
||||
enable = true;
|
||||
windowManager.awesome.enable = true;
|
||||
windowManager.awesome = {
|
||||
enable = true;
|
||||
luaModules = [
|
||||
pkgs.luaPackages.vicious
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
|
|
Loading…
Reference in a new issue