Added shudown = gksudo shutdown now

This commit is contained in:
Thomas FORGIONE 2017-03-22 10:57:53 +01:00
parent b1c1ac3a3b
commit f960d2269c
No known key found for this signature in database
GPG Key ID: 2A210FFC062E00C3
1 changed files with 3 additions and 3 deletions

View File

@ -379,9 +379,9 @@ globalkeys = awful.util.table.join(
awful.util.spawn("xbacklight -dec 5")
end, {description = "decrease brightness", group="custom"}),
awful.key({ }, "XF86MonBrightnessUp", function ()
awful.util.spawn("xbacklight -inc 5")
end, {description = "increase brightness", group="custom"}),
awful.key({ }, "XF86PowerOff", function ()
awful.util.spawn("gksudo shutdown now")
end, {description = "Shutdown", group="custom"}),
awful.key({ }, "Print", function ()
os.execute('gnome-screenshot -fp "`echo -n ' .. home .. '"/Pictures/Captures/Capture du " && date "+%Y-%m-%d %H:%M:%S"`.png"')