From 128ae72e6b0ff6ab70b4c54938a5354218c58abc Mon Sep 17 00:00:00 2001 From: ivan-boikov Date: Sun, 22 May 2022 22:32:07 +0200 Subject: xprofile and others --- scripts/.local/bin/dmnt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/.local/bin/dmnt') diff --git a/scripts/.local/bin/dmnt b/scripts/.local/bin/dmnt index fb615fc..4d4b70c 100755 --- a/scripts/.local/bin/dmnt +++ b/scripts/.local/bin/dmnt @@ -73,7 +73,7 @@ unmountdev() { \ pids="$(echo "$processes" | awk '{print $2}')" #notify-send -u critical "Unmount device" "$result\nPreparing list of processes blocking $1..." notify-send -u critical "Unmount $1" "$result\nBlocking processes:\n$processes" - action=$(echo "nothing\nterminate\nkill" | $dmenu -p "What to do to processes blocking $1" -l 3) + action=$(echo -e "nothing\nterminate\nkill" | $dmenu -p "What to do to processes blocking $1" -l 3) case $action in terminate) echo "$pids" | while IFS='\n' read -r pid ; do kill $pid; done ;; kill) echo "$pids" | while IFS='\n' read -r pid ; do kill -9 $pid; done ;; -- cgit v1.2.3