commit 95b5e735c8068e18ae5754680fd95e57a6729e67 parent 2c010bb404e80730363a3785bd9aabb351da3ad6 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sat, 23 May 2020 22:57:55 +0200 Remove transmission daemon launcher Diffstat:
D | .local/bin/t-daemon-toggle | | | 10 | ---------- |
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/.local/bin/t-daemon-toggle b/.local/bin/t-daemon-toggle @@ -1,10 +0,0 @@ -#!/bin/sh -[ ! -f /usr/bin/transmission-daemon ] && notify-send "${0##/*}" "Transmission daemon not installed." && exit - -if pgrep transmission-da >/dev/null; then - yn=$(printf "No\\nYes" | dmenu -i -p "Kill transmission-daemon?") - [ "$yn" = "Yes" ] && pkill transmission-da -else - yn=$(printf "No\\nYes" | dmenu -i -p "Start transmission daemon?") - [ "$yn" = "Yes" ] && transmission-daemon -fi