diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-05-22 22:32:07 +0200 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-05-22 22:32:07 +0200 |
| commit | 128ae72e6b0ff6ab70b4c54938a5354218c58abc (patch) | |
| tree | 31f579c9e67112151acca65ca835b50d181a56a7 /scripts/.local/bin/dmnt | |
| parent | f7498cf11733a375e2a70e5139659d10036faf0c (diff) | |
xprofile and others
Diffstat (limited to 'scripts/.local/bin/dmnt')
| -rwxr-xr-x | scripts/.local/bin/dmnt | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;; |
