mv home bin to repo
This commit is contained in:
15
.bin/brightness
Executable file
15
.bin/brightness
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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}
|
||||
Reference in New Issue
Block a user