#!/bin/bash argv=$1 dev_id=$(brightnessctl -l | grep "scrolllock" | awk '{print $2}' | cut -c 2-20) sudo brightnessctl --device="$dev_id" set $argv