Skip to content

Smoothly decreases the brightness using brightnessctl

Notifications You must be signed in to change notification settings

theawesome1-dev/smooth-dim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

smooth-dim

Smoothly decreases the brightness using brightnessctl

Dependencies

  • Brightnessctl

Usage

$ bash smoothDim [bright/dim] [number to stop dimming (optional)]

Edit the speed of the dimming by edting the sleep and brightnessctl values in the script

Using hypridle

listener {
    timeout = 250                             
    on-timeout = bash ~/light.sh dim      
    on-resume = pkill -f ~/light.sh  || bash ~/light.sh bright                
}

About

Smoothly decreases the brightness using brightnessctl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages