mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-20 07:15:20 +05:30
I'm totally adding this to epic win. +300
This commit is contained in:
3
torrent
3
torrent
@@ -26,6 +26,9 @@ else
|
||||
script_dir="$HOME/repos_scripts"
|
||||
download_dir="$HOME/Softwares"
|
||||
[ -z "$magnet" ] && magnet="$(wl-paste)"
|
||||
terminal="${TERMINAL:-foot}"
|
||||
prefix="setsid -f $terminal -e"
|
||||
pgrep -af "$0" | grep -q "$terminal" || { $prefix "$0" "$magnet"; exit 0; }
|
||||
fi
|
||||
|
||||
#import generic functions
|
||||
|
||||
Reference in New Issue
Block a user