Set shortcut with i3 for brightness.

  1. Set shortcut with i3 for brightness.
    1. Install blight for AUR
    2. Set the shortcut

Set shortcut with i3 for brightness.

Install blight for AUR

git clone https://aur.archlinux.org/blight.git
cd blight
makepkg -si
language-noneCopy

The doc: https://github.com/RPigott/blight

Set the shortcut

cd ~/.config/i3
vim config
language-noneCopy

I added this on this file:

bindsym $mod+F5 exec blight set -5%
bindsym $mod+F6 exec blight set +5%
language-noneCopy

Now reload I3 with mod+shift+r
Decrease brightness: mod+F5
Increase brightness: mod+F6