Updated scripts.
This commit is contained in:
parent
272fb806ef
commit
8364d66ca5
7 changed files with 22 additions and 60 deletions
14
dmenu-games
14
dmenu-games
|
@ -1,13 +1,7 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# dmenu script to open up my games or game launcher's
|
||||
# dmenu script to open up my games
|
||||
|
||||
declare -a Games=(
|
||||
"Heroic (Launcher)"
|
||||
"Lutris (Launcher)"
|
||||
)
|
||||
choice=$(game-run | dmenu -p "Choose game to run:")
|
||||
|
||||
case "$(printf "%s\n" "${Games[@]}" | dmenu -p "Choose your game")" in
|
||||
"Heroic (Launcher)") heroic ;;
|
||||
"Lutris (Launcher)") lutris ;;
|
||||
esac
|
||||
game-run "$choice"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue