16 lines
207 B
Bash
Executable file
16 lines
207 B
Bash
Executable file
#!/bin/bash
|
|
|
|
time="$@"
|
|
if [ -z "$time" ]; then
|
|
echo "Usage: $0 <time>"
|
|
echo "Example: $0 10:00"
|
|
exit 1
|
|
fi
|
|
|
|
at "$time" <<EOF
|
|
xbacklight = 1
|
|
pamixer --unmute
|
|
pamixer --set-volume 100
|
|
mpc play
|
|
EOF
|
|
|