dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/bin/deadcode

15 lines
528 B
Bash
Executable File

#!/bin/bash
pidof python -m FoxDot || {
pkill -9 -f scsynth\ -u\ 57110\ -a\ 116\ -i\ 2\ -o\ 2\ -b\ 65536\ -n\ 32768\ -m\ 131072\ -S\ 44100\ -R\ 0\ -C\ 0\ -l\ 1
pkill -9 -f sclang\ -D\ /home/deadguy/Music/LiveCoding/foxy.scd
sleep 3s
tmux kill-session -t "Deadguy"
}
#pidof python -m FoxDot 2> /dev/null
#if [[ $? -eq 1 ]]; then
# pkill -9 -f scsynth\ -u\ 57110\ -a\ 144\ -i\ 16\ -o\ 16\ -b\ 65536\ -n\ 32768\ -m\ 131072\ -S\ 44100\ -R\ 0\ -C\ 0\ -l\ 1
# pkill -9 -f sclang\ -D\ /home/deadguy/Music/LiveCoding/foxy.scd
#fi