dotfiles/Scripts/dmenu_script/lutris.sh

10 lines
230 B
Bash
Raw Normal View History

2019-07-20 12:23:56 +02:00
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'")
}