kiku
is a very simple tool that play a sound when a command is finished.
The sound of notification is played by mpg123
command and is taken frome here.
These instructions need to be launched as root.
mkdir /usr/local/share/kiku
cp notif.mp3 /usr/local/share/kiku
cp main.sh /usr/local/share/kiku
These instructions need to be launched as a normal user.
KIKU_SOUND=/usr/local/share/kiku/notif.mp3
echo "KIKU_SOUND=$KIKU_SOUND" >> ~/.bashrc
alias kiku='source /usr/local/share/kiku/main.sh'
echo "alias kiku='source /usr/local/share/kiku/main.sh'" >> ~/.bashrc
You can now use kiku
command. Try with sleep 3
. To stop it, type stop
.
These instructions need to be launched as root.
rm -rf /usr/local/share/kiku
These instructions need to be launched as a normal user.
sed -i '/KIKU_SOUND/d' ~/.bashrc
sed -i '/alias kiku/d' ~/.bashrc