Skip to content

mamaraddio/nvidia_backlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nvidia-backlight

A simple script to help manage brightness of NVIDIA cards that have strange "brightness steps"

Dependencies

This is a bash script that wraps brightnessctl so the dependencies are:

  • Bash -> almost all linux distro should have it installed by default
  • brightnessctl -> to interact with your video card brightness
  • notify-send -> you shold have installed - to receive a feedback of the action performed

Usage

To get the usage message just call it with no arguments

backlight

To increase brightness of 10 point

backlight up 10

or using a percentage

backlight down 10%

An optional image argument can be provided like so:

backlight up 10 ~/.icons/my-brightness-icon.svg

If no image is provided it defaults to the first element containing the name "brightness.svg" enumerating /usr/share/icons/ folder

Installation

To install this script simply clone this repo and run make:

git clone https://github.com/mamaraddio/nvidia-backlight
cd nvidia-backlight
sudo make install

Uninstall

A clean recipe is provided with the Makefile. To uninstall you can run

sudo make clean

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published