File : Add play to play media files from CLI.
This commit is contained in:
parent
bbbc2cb3ba
commit
f5d92803d9
|
@ -3,3 +3,9 @@
|
|||
function o() {
|
||||
xdg-open "${@}"
|
||||
}
|
||||
|
||||
# Play media file from CLI.
|
||||
# Usage: play <FILE>
|
||||
function play() {
|
||||
flatpak run io.mpv.Mpv --no-audio-display ${*}
|
||||
}
|
||||
|
|
|
@ -150,6 +150,7 @@ Command|Description
|
|||
Command|Description
|
||||
---|---
|
||||
`o <FILE>`|Open file/dir in GUI.
|
||||
`play <FILE>`|Play media file from CLI.
|
||||
|
||||
## Find.
|
||||
|
||||
|
|
Reference in a new issue