Finer control for xbacklight
This commit is contained in:
parent
dbf53ab975
commit
168b9c877b
8
rc.lua
8
rc.lua
|
@ -430,19 +430,19 @@ globalkeys = awful.util.table.join(
|
||||||
end, {description = "mute sound", group="Fn Keys"}),
|
end, {description = "mute sound", group="Fn Keys"}),
|
||||||
|
|
||||||
awful.key({ }, "XF86MonBrightnessDown", function ()
|
awful.key({ }, "XF86MonBrightnessDown", function ()
|
||||||
awful.util.spawn("xbacklight -dec 5")
|
awful.util.spawn("xbacklight -dec 2")
|
||||||
end, {description = "decrease brightness", group="Fn Keys"}),
|
end, {description = "decrease brightness", group="Fn Keys"}),
|
||||||
|
|
||||||
awful.key({ }, "XF86MonBrightnessUp", function ()
|
awful.key({ }, "XF86MonBrightnessUp", function ()
|
||||||
awful.util.spawn("xbacklight -inc 5")
|
awful.util.spawn("xbacklight -inc 2")
|
||||||
end, {description = "increase brightness", group="Fn Keys"}),
|
end, {description = "increase brightness", group="Fn Keys"}),
|
||||||
|
|
||||||
awful.key({modkey}, "#82", function ()
|
awful.key({modkey}, "#82", function ()
|
||||||
awful.util.spawn("xbacklight -dec 5")
|
awful.util.spawn("xbacklight -dec 2")
|
||||||
end, {description = "decrease brightness", group="Brightness controls"}),
|
end, {description = "decrease brightness", group="Brightness controls"}),
|
||||||
|
|
||||||
awful.key({modkey}, "#86", function ()
|
awful.key({modkey}, "#86", function ()
|
||||||
awful.util.spawn("xbacklight -inc 5")
|
awful.util.spawn("xbacklight -inc 2")
|
||||||
end, {description = "increase brightness", group="Brightness controls"}),
|
end, {description = "increase brightness", group="Brightness controls"}),
|
||||||
|
|
||||||
awful.key({ }, "XF86PowerOff", function ()
|
awful.key({ }, "XF86PowerOff", function ()
|
||||||
|
|
Loading…
Reference in New Issue