mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-20 07:15:20 +05:30
chore: using $TERMINAL variable in script
This commit is contained in:
2
tor-cli
2
tor-cli
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user