dotfiles/.config/i3/factorio.sh!

10 lines
189 B
Plaintext
Raw Normal View History

2019-07-20 12:14:25 +02:00
#!/bin/bash
INSTANCE=$(ls ~/Documents/Games/Factorio/Modpacks/ | rofi -dmenu -i)
echo $INSTANCE
if test -n "$INSTANCE"; then
$(<"${INSTANCE}/pack.conf") --mod-directory $INSTANCE
fi