Having poweroff doesn't mean we shoudn't inscrease our xbacklight...
This commit is contained in:
parent
f960d2269c
commit
47e1f4bf86
|
@ -379,6 +379,10 @@ 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.util.spawn("xbacklight -inc 5")
|
||||||
|
end, {description = "increase brightness", group="custom"}),
|
||||||
|
|
||||||
awful.key({ }, "XF86PowerOff", function ()
|
awful.key({ }, "XF86PowerOff", function ()
|
||||||
awful.util.spawn("gksudo shutdown now")
|
awful.util.spawn("gksudo shutdown now")
|
||||||
end, {description = "Shutdown", group="custom"}),
|
end, {description = "Shutdown", group="custom"}),
|
||||||
|
|
Loading…
Reference in New Issue