You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
297 B

5 years ago
#!/usr/bin/env sh
# include common definitions
# shellcheck source=scripts/core/sxmo_common.sh
. "$(dirname "$0")/sxmo_common.sh"
notify() {
light | xargs notify-send
}
setvalue() {
light -S "$1"
5 years ago
}
up() {
light -A 5
5 years ago
}
down() {
light -N 5
light -U 5
}
getvalue() {
light
5 years ago
}
"$@"
notify