Added lock screen keybind
This commit is contained in:
@ -11,5 +11,28 @@ return gears.table.join(
|
||||
description = "Shutdown",
|
||||
group = "System"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4"}, "a",
|
||||
function ()
|
||||
bin.system.lock()
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Lock screen",
|
||||
group = "System"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4", "Control"}, "x",
|
||||
function ()
|
||||
-- requires sudoers rule
|
||||
awful.spawn("sudo systemctl restart lightdm")
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Restart lightdm",
|
||||
group = "System"
|
||||
}
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user