Finer control for xbacklight
Tento commit je obsažen v:
rodič
dbf53ab975
revize
168b9c877b
8
rc.lua
8
rc.lua
@ -430,19 +430,19 @@ globalkeys = awful.util.table.join(
|
||||
end, {description = "mute sound", group="Fn Keys"}),
|
||||
|
||||
awful.key({ }, "XF86MonBrightnessDown", function ()
|
||||
awful.util.spawn("xbacklight -dec 5")
|
||||
awful.util.spawn("xbacklight -dec 2")
|
||||
end, {description = "decrease brightness", group="Fn Keys"}),
|
||||
|
||||
awful.key({ }, "XF86MonBrightnessUp", function ()
|
||||
awful.util.spawn("xbacklight -inc 5")
|
||||
awful.util.spawn("xbacklight -inc 2")
|
||||
end, {description = "increase brightness", group="Fn Keys"}),
|
||||
|
||||
awful.key({modkey}, "#82", function ()
|
||||
awful.util.spawn("xbacklight -dec 5")
|
||||
awful.util.spawn("xbacklight -dec 2")
|
||||
end, {description = "decrease brightness", group="Brightness controls"}),
|
||||
|
||||
awful.key({modkey}, "#86", function ()
|
||||
awful.util.spawn("xbacklight -inc 5")
|
||||
awful.util.spawn("xbacklight -inc 2")
|
||||
end, {description = "increase brightness", group="Brightness controls"}),
|
||||
|
||||
awful.key({ }, "XF86PowerOff", function ()
|
||||
|
Načítá se…
x
Odkázat v novém úkolu
Zablokovat Uživatele