Advertisement
Ri0n

Xrand brighness test

Mar 4th, 2023
663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. export DISPLAY=:0
  2. xrandr --output $(xrandr | grep -o '.* connected' | sed 's/ connected//') --gamma 1:1:1 --brightness 2.0
  3. xrandr --output $(xrandr | grep -o '.* connected' | sed 's/ connected//') --gamma 1:1:1 --brightness 1.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement