From e0249737e711013584c7a1330ccd983d3056e190 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Wed, 6 Sep 2017 10:15:11 -0400 Subject: Update README.md --- brightness-widget/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'brightness-widget') 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. -- cgit v1.2.3