From 2a34af646c7c8698a3a6f1d35e8160fffb51e2a2 Mon Sep 17 00:00:00 2001 From: Arjun Karangiya Date: Tue, 12 Jul 2022 23:32:44 +0530 Subject: [PATCH] killall needs full process name to work (#1141) --- .local/bin/td-toggle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/td-toggle b/.local/bin/td-toggle index 3c20ea1..de1a0e6 100755 --- a/.local/bin/td-toggle +++ b/.local/bin/td-toggle @@ -4,7 +4,7 @@ if pidof transmission-daemon >/dev/null ; then - [ "$(printf "No\\nYes" | dmenu -i -p "Turn off transmission-daemon?")" = "Yes" ] && killall transmission-da && notify-send "transmission-daemon disabled." + [ "$(printf "No\\nYes" | dmenu -i -p "Turn off transmission-daemon?")" = "Yes" ] && killall transmission-daemon && notify-send "transmission-daemon disabled." else ifinstalled transmission-cli || exit [ "$(printf "No\\nYes" | dmenu -i -p "Turn on transmission daemon?")" = "Yes" ] && transmission-daemon && notify-send "transmission-daemon enabled."