Even more stuff

desktop
Daan Vanoverloop 3 years ago
parent 4419dccced
commit 3e8bf90463
  1. 10
      Scripts/dmenu_script/factorio.sh
  2. 9
      Scripts/dmenu_script/lutris.sh
  3. 7
      Scripts/dmenu_script/minecraft.sh

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

@ -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'")
}

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