commit a8b078835dfc593ce3642f8a8b870fed04453643
parent 5986a70d9a5fe8b5cebe60c658f8accb0e4cce37
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 29 Dec 2018 11:56:50 +0100
Open transmission web interface on left click
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/links/.config/i3/i3scripts/i3torrent b/links/.config/i3/i3scripts/i3torrent
@@ -15,7 +15,8 @@ transmission-remote -l | grep % |
s/Z/🌱/g" | awk '{print $2, $1}' | tr '\n' ' ' | sed -e "s/ $//g"
case $BLOCK_BUTTON in
- 1) st ;;
+ 1) transmission-daemon --port 9091 --allowed "127.0.0.1" && \
+ xdg-open 'http://localhost:9091/transmission/web/' ;;
3) pgrep -x dunst >/dev/null && notify-send "<b>Torrent module:</b>
🛑: paused
⏳: waiting