mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-10 19:10:36 +00:00
13 lines
585 B
Bash
Executable File
13 lines
585 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# AUTHOR: gotbletu (@gmail|twitter|youtube|github|lbry)
|
|
# https://www.youtube.com/user/gotbletu
|
|
# DESC: launch playonlinux programs (winehq)
|
|
# DEMO: https://www.youtube.com/watch?v=AbveiTAymy0
|
|
# DEPEND: fzf nohup playonlinux coreutils findutils
|
|
|
|
selected="$(find ~/.PlayOnLinux/shortcuts -type f -exec basename {} \; | fzf -e -i --reverse )"
|
|
[ -z "$selected" ] && exit
|
|
# nohup playonlinux --run "$selected" >/dev/null 2>&1 & disown
|
|
# setsid playonlinux --run "$selected" >/dev/null 2>&1 & disown
|
|
setsid playonlinux --run "$selected" >/dev/null & disown
|