Update.
This commit is contained in:
parent
5fe9ae3c00
commit
19ee4a7871
10 changed files with 152 additions and 25 deletions
12
dmenugames
12
dmenugames
|
@ -1,5 +1,11 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# A script that uses my other project to list games and allows me to run them
|
||||
declare -a Games=(
|
||||
"Heroic (Launcher)"
|
||||
"Lutris (Launcher)"
|
||||
)
|
||||
|
||||
game_run | dmenu -l 20 -p "Choose what game to launch" | xargs -I {} game_run {}
|
||||
case "$(printf "%s\n" "${Games[@]}" | dmenu -p "Choose your game")" in
|
||||
"Heroic (Launcher)") heroic ;;
|
||||
"Lutris (Launcher)") lutris ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue