commit 95983aa97ef74695196cb5dbec46e9bf6d49d9c0 parent e1410345747138c11692406b6ea34a3ebc19cdc3 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 5 Mar 2019 21:53:11 +0100 Use dmenu themed for t-daemon-toggle Diffstat:
M | links/bin/t-daemon-toggle | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/links/bin/t-daemon-toggle b/links/bin/t-daemon-toggle @@ -6,10 +6,10 @@ if pgrep -x transmission-da >/dev/null ; then - yn=$(printf "No\\nYes" | dmenu -i -p "Kill transmission-daemon?") + yn=$(printf "No\\nYes" | dmenu_themed -i -p "Kill transmission-daemon?") [ "$yn" = "Yes" ] && killall transmission-da else - yn=$(printf "No\\nYes" | dmenu -i -p "Start transmission daemon?") + yn=$(printf "No\\nYes" | dmenu_themed -i -p "Start transmission daemon?") [ "$yn" = "Yes" ] && transmission-daemon fi -sleep 3 && pkill -RTMIN+16 i3blocks +#sleep 3 && pkill -RTMIN+16 i3blocks