awesomewm/binds/system/system.lua

16 lines
307 B
Lua

return gears.table.join(
awful.key( {"Mod4"}, "p",
function ()
awful.prompt.run {
prompt = "<b>Really shutdown? (y/n/r) </b>",
textbox = awful.screen.focused().mypromptbox.widget,
exe_callback = bin.system.shutdown
}
end,
{
description = "Shutdown",
group = "System"
}
)
)