mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59: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" },
|
{ "manual", terminal .. " -e man awesome" },
|
||||||
{ "edit config", editor_cmd .. " " .. awesome.conffile },
|
{ "edit config", editor_cmd .. " " .. awesome.conffile },
|
||||||
{ "restart", awesome.restart },
|
{ "restart", awesome.restart },
|
||||||
-- { "quit", function() awesome.quit() end },
|
{ "quit", function() awesome.quit() end },
|
||||||
}
|
}
|
||||||
|
|
||||||
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
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
|
-- scan directory, and optionally filter outputs
|
||||||
function scandir(directory)
|
function scandir(directory)
|
||||||
local i, fileList, popen = 0, {}, io.popen
|
local i, t, popen = 0, {}, io.popen
|
||||||
for filename in popen([[find "]] ..directory.. [[" -type f]]):lines() do
|
local pfile = popen('ls -a "'..directory..'"')
|
||||||
|
for filename in pfile:lines() do
|
||||||
i = i + 1
|
i = i + 1
|
||||||
fileList[i] = filename
|
t[i] = filename
|
||||||
end
|
end
|
||||||
return fileList
|
pfile:close()
|
||||||
|
return t
|
||||||
end
|
end
|
||||||
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- configuration - edit to your liking
|
-- configuration - edit to your liking
|
||||||
|
|
|
@ -21,7 +21,12 @@ in
|
||||||
{
|
{
|
||||||
xsession = {
|
xsession = {
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManager.awesome.enable = true;
|
windowManager.awesome = {
|
||||||
|
enable = true;
|
||||||
|
luaModules = [
|
||||||
|
pkgs.luaPackages.vicious
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
Loading…
Reference in a new issue