Skip to content

Restore screens' brightness on startup (OpenRC service)

License

Notifications You must be signed in to change notification settings

alium/backlight-openrc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

backlight-openrc

Save the screen light settings at shutdown and restore it at boot time, using OpenRC init scripts.

Installation

Arch Linux

  1. Install the package using the AUR tar ball

Artix Linux

  1. Install the package with pacman -S backlight-openrc

Non Arch Linux Based

  1. Clone this repo
  2. Install the file backlight in /etc/init.d/ with
install -m=755 -oroot backlight /etc/init.d/backlight

Setup

After installing you should add the service to the system boot schedule with

rc-update add backlight

How-to uninstall

Arch Linux Based

  1. Just remove it with pacman
pacman -R backlight-openrc

Non Arch Linux Based

  1. First remove it from the system startup
rc-update del backlight -a
  1. Then just delete the script from your system
 rm /etc/init.d/backlight

About

Restore screens' brightness on startup (OpenRC service)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%