return gears.table.join( awful.key( {}, "XF86MonBrightnessUp", function () bck:backlight_up() end, { description = "Raise brightness", group = "System" } ), awful.key( {}, "XF86MonBrightnessDown", function () bck:backlight_down() end, { description = "Lower brightness", group = "System" } ), awful.key( { "Mod4" }, "o", function () bin.backlight.redshift(5600) end, { description = "Default redshift", group = "System" } ), awful.key( { "Mod4", "Shift" }, "o", function () bin.backlight.redshift_reset() end, { description = "Reset redshift", group = "System" } ), awful.key( { "Mod4", "Shift", "Control" }, "o", function () bin.backlight.redshift_reset() awful.prompt.run { prompt = "Color temperature: ", textbox = awful.screen.focused().mypromptbox.widget, exe_callback = bin.backlight.redshift } end, { description = "Set redshift", group = "System" } ) )