Skip to content

Instantly share code, notes, and snippets.

@11808s8
Created July 25, 2021 05:22
Show Gist options
  • Select an option

  • Save 11808s8/a4c67b95f40b42d338cb3ebddd7ed1e6 to your computer and use it in GitHub Desktop.

Select an option

Save 11808s8/a4c67b95f40b42d338cb3ebddd7ed1e6 to your computer and use it in GitHub Desktop.
Alias to set the Display Brightness at the OS level on Linux
alias display_brightness='xrandr --output $(xrandr -q | grep " connected" | cut -d" " -f1) --brightness $1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment