16 lines
284 B
Bash
Executable File
16 lines
284 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# adjust screen brightness
|
|
#
|
|
#
|
|
# Script to adjust screen brightness
|
|
function usage_and_exit {
|
|
echo "Usage: $(basename ${0}) <param1>"
|
|
exit 1
|
|
}
|
|
# Exit if we have an incorrect number of arguments
|
|
if [ ${#} -ne 1 ]; then
|
|
usage_and_exit
|
|
fi
|
|
xbacklight -inc ${1}
|