mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
16 lines
213 B
Bash
Executable File
16 lines
213 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
checkRunning="$(mpc current)"
|
|
if [[ $checkRunning == '' ]]; then
|
|
exit 1
|
|
fi
|
|
|
|
arg=$1
|
|
if [[ $arg == 'next' ]]; then
|
|
echo "怜"
|
|
elif [[ $arg == 'prev' ]]; then
|
|
echo "玲"
|
|
fi
|