Started migrating to module architecture

This commit is contained in:
2022-07-16 14:13:03 -07:00
parent d68efc5713
commit 840f084db8
16 changed files with 369 additions and 289 deletions

View File

@ -72,15 +72,5 @@ return {
--awful.spawn("flameshot gui -p \"" .. conf.screenshot_dir .. "\"", false)
awful.spawn("flameshot gui", false)
end
},
mpc = {
watch = function(command, timeout, callback, widget)
awful.widget.watch("mpc --host " .. conf.mpd_host .. " " .. command, timeout, callback, widget)
end,
command = function(command, callback)
awful.spawn.easy_async("mpc --host " .. conf.mpd_host .. " " .. command, callback)
end
}
}