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