mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
3 Commits
afc78d5119
...
425e311b0e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
425e311b0e | ||
|
|
708d6c6731 | ||
|
|
b68ee2d263 |
@ -58,7 +58,22 @@ cmd extract ${{
|
||||
printf "%s\n\t" "$fx"
|
||||
printf "extract?[y/N]"
|
||||
read ans
|
||||
[ $ans = "y" ] && aunpack $fx
|
||||
[ $ans = "y" ] && {
|
||||
case $fx in
|
||||
*.tar.bz2) tar xjf $fx ;;
|
||||
*.tar.gz) tar xzf $fx ;;
|
||||
*.bz2) bunzip2 $fx ;;
|
||||
*.rar) unrar e $fx ;;
|
||||
*.gz) gunzip $fx ;;
|
||||
*.tar) tar xf $fx ;;
|
||||
*.tbz2) tar xjf $fx ;;
|
||||
*.tgz) tar xzf $fx ;;
|
||||
*.zip) unzip $fx ;;
|
||||
*.Z) uncompress $fx ;;
|
||||
*.7z) 7z x $fx ;;
|
||||
*.tar.xz) tar xf $fx ;;
|
||||
esac
|
||||
}
|
||||
}}
|
||||
|
||||
cmd delete ${{
|
||||
|
||||
@ -11,9 +11,9 @@ transmission-remote -l | grep % |
|
||||
sort -h | uniq -c | awk '{print $3 $1}' | paste -sd ' ' -
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
1) setsid -f "$TERMINAL" -e tremc ;;
|
||||
1) setsid -f "$TERMINAL" -e stig ;;
|
||||
2) td-toggle ;;
|
||||
3) notify-send "🌱 Torrent module" "\- Left click to open tremc.
|
||||
3) notify-send "🌱 Torrent module" "\- Left click to open stig.
|
||||
- Middle click to toggle transmission.
|
||||
- Shift click to edit script.
|
||||
Module shows number of torrents:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user