Skip to content

💡 AwesomeWM backlight widget for use with GoboLight

License

Notifications You must be signed in to change notification settings

gobolinux/gobo-awesome-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gobo-awesome-light

A backlight widget for Awesome WM, designed for http://gobolinux.org.

Requirements

Installing

luarocks install gobo-awesome-light

Using

Require the module:

local light = require("gobo.awesome.light")

Create the widget with light.new():

local light_widget = light.new()

Then add it to your layout. In a typical rc.lua this will look like this:

right_layout:add(light_widget)

Additionally, add keybindings for your multimedia keys:

   awful.key({ }, "XF86MonBrightnessUp", function() light_widget:inc_brightness(5) end,
      {description = "Raise screen brightness", group = "multimedia"}
   ),
   awful.key({ }, "XF86MonBrightnessDown", function() light_widget:dec_brightness(5) end,
      {description = "Lower screen brightness", group = "multimedia"}
   ),

About

💡 AwesomeWM backlight widget for use with GoboLight

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages