Even more stuff

This commit is contained in:
Daan Vanoverloop 2019-07-20 12:23:56 +02:00
parent 4419dccced
commit 3e8bf90463
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,10 @@
PACK_DIR="$HOME/Games/Factorio/Modpacks/"
input () {
ls $PACK_DIR
}
output () {
factorio --mod-directory $PACK_DIR/$1
}

View File

@ -0,0 +1,9 @@
LUTRIS_DIR=$HOME/.local/share/lutris/
input () {
sqlite3 "${LUTRIS_DIR}/pga.db" "select name from games"
}
output () {
lutris lutris:rungame/$(sqlite3 "${LUTRIS_DIR}/pga.db" "select slug from games where name = '$1'")
}

View File

@ -0,0 +1,7 @@
input () {
ls ~/.local/share/multimc/instances/
}
output () {
multimc -l "$1"
}