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
rss
2
rss
@@ -6,4 +6,4 @@ name=$(printf "%s" "$data" | sed -nE 's_^.*Please\] (.*)</title>.*size>(.*)</sub
|
||||
[ -z "$name" ] && notify-send -u critical "Err.. Query empty" -r $tmp && exit 0
|
||||
id=$(printf "$name" | sed -nE 's/.*\[(.*)\].*/\1/p')
|
||||
magnet=$(printf "%s" "$data" | sed -nE "s_.*<link>(.*$id.*)</link>.*_\1_p" | sed 's/amp;//g')
|
||||
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