diff --git a/dmenu-kill b/dmenu-kill index 30811e7..f35093e 100755 --- a/dmenu-kill +++ b/dmenu-kill @@ -4,7 +4,7 @@ source $HOME/.config/dmenu/config -pid=$(ps -u $USER -o pid,%mem,%cpu,comm,cmd | sort -b -k3 -r | dmenu -l 15 -i -p "Choose procces to kill: " | awk '{print $1}') +pid=$(ps -u $USER -o pid,%mem,%cpu,comm,cmd | sort -b -k3 -r | $DMENU -l 15 -i -p "Choose procces to kill: " | awk '{print $1}') [ -n "$pid" ] || exit