chore: using $TERMINAL variable in script

This commit is contained in:
CoolnsX
2022-12-11 13:17:19 +05:30
parent 461706e8d6
commit a5795ebe92
5 changed files with 5 additions and 5 deletions

View File

@@ -34,4 +34,4 @@ url=$(head -n $LINE $cachedir/links.bw | tail -n +$LINE)
# Requesting page for magnet link
magnet=$(curl -s "${baseurl}${url}" | sed -nE 's/.*class="(.*)" href="([^"]*)" .*/\2/p')
setsid -f foot -e $HOME/repos_scripts/torrent "$magnet"
setsid -f $TERMINAL -e $HOME/repos_scripts/torrent "$magnet"