diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2017-09-06 10:15:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 10:15:11 -0400 |
commit | e0249737e711013584c7a1330ccd983d3056e190 (patch) | |
tree | aa390a3bfca1e04119ccfa618547539a1648dc07 | |
parent | e47b79035f8b0d381299a123e0272458b2011fdd (diff) |
Update README.md
-rw-r--r-- | brightness-widget/README.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/brightness-widget/README.md b/brightness-widget/README.md index 77499e6..3f23de5 100644 --- a/brightness-widget/README.md +++ b/brightness-widget/README.md @@ -47,6 +47,7 @@ brightness_widget In order to change brightness by shortcuts you can add them to the `globalkeys` table in the **rc.lua**: ```lua -awful.key({ modkey }, ";", function () awful.spawn("light -A 5") end, {description = "decrease brightness", group = "custom"}), -awful.key({ modkey, "Shift"}, ";", function () awful.spawn("light -U 5") end, {description = "increase brightness", group = "custom"}), +awful.key({ modkey }, ";", function () awful.spawn("light -A 5") end, {description = "increase brightness", group = "custom"}), +awful.key({ modkey, "Shift"}, ";", function () awful.spawn("light -U 5") end, {description = "decrease brightness", group = "custom"}), ``` +On laptop you can use `XF86MonBrightnessUp` and `XF86MonBrightnessDown` keys. |