Added bash function (comment)

This commit is contained in:
Thomas FORGIONE 2017-09-12 14:19:46 +02:00
parent a431c4a257
commit da493880f7
No known key found for this signature in database
GPG Key ID: C75CD416BD1FFCE1
1 changed files with 16 additions and 0 deletions

View File

@ -82,3 +82,19 @@ resolv() {
makelatex() {
cp /home/thomas/.script/classgen/Makefile.latex ./Makefile
}
# Music things
# command -v music-server > /dev/null 2>&1
# if [ $? -eq 0 ]; then
# mplayer() {
# ps -e | grep music-server > /dev/null 2>&1
# if [ $? -ne 0 ]; then
# nohup music-server > /dev/null 2>&1 &
# disown
# sleep 0.2s
# fi
# filename=$(echo `realpath $1` | sed 's/ /\\\\ /g' | sed "s/'/\\\\\\\\'/g")
# awesome-client "require('music').execute_command('file ' .. \"$filename\")"
# }
# fi