diff --git a/dmenu-games b/dmenu-games index 34811a2..3487c0d 100755 --- a/dmenu-games +++ b/dmenu-games @@ -16,9 +16,9 @@ while [ -z "$game" ] do if [ -z "$1" ]; then - game=$(game-run list $category | sed '/-18+/d' | $DMENU -p "Choose game to run:") + game=$(game-run list "$category" | sed '/-18+/d' | $DMENU -p "Choose game to run:") elif [ "$1" = "-a" ]; then - game=$(game-run list $category | $DMENU -p "Choose game to run:") + game=$(game-run list "$category" | $DMENU -p "Choose game to run:") else printf '%s\n' "Option $1 doesn't exit!!" exit 1