+ Added scripts directory

This commit is contained in:
ziro 2020-04-19 14:31:51 +07:00
parent c42020a930
commit 08332199a2
23 changed files with 547 additions and 0 deletions

17
.scripts/games/ps2.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/dash
#Game Lists ------------
pstwo="Back\0icon\x1fzback
Okami\0icon\x1fzdisk
Persona 3 FES\0icon\x1fzdisk
Persona 4\0icon\x1fzdisk"
#Scripts ---------------
chosenps2=$(echo -e "$pstwo" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case $chosenps2 in
Back)sh ~/.scripts/play.sh ;;
"Okami") notify-send "Launching..." "$chosenps2" && PCSX2 --nogui --fullscreen "$HOME/my Games/PS2/Okami.iso" ;;
"Persona 3 FES") notify-send "Launching..." "$chosenps2" && PCSX2 --nogui --fullscreen "$HOME/my Games/PS2/Persona 3 FES.iso" ;;
"Persona 4") notify-send "$chosenps2" "Not available yet." ;;
esac