Added bash function (comment)
This commit is contained in:
parent
a431c4a257
commit
da493880f7
|
@ -82,3 +82,19 @@ resolv() {
|
||||||
makelatex() {
|
makelatex() {
|
||||||
cp /home/thomas/.script/classgen/Makefile.latex ./Makefile
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue