Skip to content

Shell script that sets device brightness using login1 interface

License

Notifications You must be signed in to change notification settings

niten94/l1light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

l1light

A shell script that sets the brightness on devices using login1 D-Bus interface on Linux. It is made to set screen brightness in GUI sessions as a regular user without modifying other configuration.

Installation

Copy l1light.sh to a directory included in $PATH and rename it to l1light or run make install. Script and man page is installed to the home directory by default in the Makefile.

The programs written below are used but they are usually installed:

  • awk
  • dbus-send - setting brightness
  • udevadm - used with detecting device when not specified

Standards

POSIX 2017 is adhered in source code.

Similar programs

About

Shell script that sets device brightness using login1 interface

Resources

License

Stars

Watchers

Forks