diff options
Diffstat (limited to 'brightness-widget')
-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. |