Issues with brightness control on i3wm ( in built keys shortcuts )

I am using a HP laptop where the system itself has a key assigned to shortcut for brightness, volume and baclit keyboard.
Everything is working fine except the brightness, what can I do to use the keyboard keys and not every time open terminal and use xrandr.

This is how audio looks when I use the keyboard shortcut

This is how the brightness looks, empty:

I want to use the inbuilt keyboard bindings for more easier control to brightness.
Overall I find this OS is the best Arch based distro for everything. Brightness is the only thing that is pain in the @$$

Try this:

bindsym XF86MonBrightnessUp exec brightnessctl -c backlight set +5%
bindsym XF86MonBrightnessDown exec brightnessctl -c backlight set 5%-

Brightnessctl is in extra.

Other options are light & xorg-xbacklight which off course have their own syntax. The problem with these keys is they are hardwired in the bios, so you might not get anything to work.

I’m having the exact same problem.

Did you find a solution to this problem?

i’ve found a solution that worked for me, it was pretty simple really, you have to figure out the name of the device that you’re trying to adjust the brightness off. with intel cpu’s its probably intel_backlight.
And then add that to the brightnessctl command like this;

bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl --device=intel_backlight set “5%+”
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl --device=intel_backlight set “5%-”
maybe this also works for xbacklight but im not sure.