ren laptop
brightness
Altering the brightness can be useful when used at night, but restoring it is vital when using it outside.
I implemented as keybindings for i3wm by adding these entries in ~/.config/i3
randr commands
bindsym $mod+F8 exec xrandr --output eDP-1 --brightness 0.3
bindsym $mod+F9 exec xrandr --output eDP-1 --brightness 1
Since the F8 and F9 have the brightness up/down sign on them. So the command is rather clear :
The 0.3 denotes the fractional brightness 1.0 would be fully bright. This sets the brightness with software, it seems you can also have hardware support specially for laptops. You should use xbacklight for that and in my case that command says
No outputs have backlight property To find the device (eDP-1) use something like this :
The one saying connected is the one you want to use.