Go to file
2019-04-12 07:06:05 +01:00
.gitignore moved displays to settings file 2019-04-12 07:05:43 +01:00
brightness.py moved displays to settings file 2019-04-12 07:05:43 +01:00
README.md new readme file 2019-04-12 07:06:05 +01:00

brightness

Simple python script to change display brightness on active display using xrandr and xdotool.

Setup Instructions

Requirements

  • python3
  • xrandr
  • xdotool

Setup

git clone git@0cd.xyz:michael/brightness.git

create settings file with your display IDs

{
    "display0" : "DP-2",
    "display1" : "DP-1"
}

run script with

Usage: ./brightness.py [+|-]
brightness + # increases brightness
brightness - # decreases brightness