diff options
author | tdro <tdro@users.noreply.github.com> | 2020-10-24 03:24:50 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-10-24 03:24:50 -0400 |
commit | 0591d82b230f55eba7e6ea771592b4cfe62c9c98 (patch) | |
tree | 9e415619331b505106940ffb1bd860822c7439c3 /.local/bin | |
parent | 4fd3fa5ccc2f86423e944b4ddea14280e6b12480 (diff) | |
download | dotfiles-0591d82b230f55eba7e6ea771592b4cfe62c9c98.tar.gz dotfiles-0591d82b230f55eba7e6ea771592b4cfe62c9c98.tar.bz2 dotfiles-0591d82b230f55eba7e6ea771592b4cfe62c9c98.zip |
.local/share/applications: Add video
Fix up audio and image handlers
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/mocplay | 4 | ||||
-rwxr-xr-x | .local/bin/mplayer-wrapper | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.local/bin/mocplay b/.local/bin/mocplay index b3fae33..2966ade 100755 --- a/.local/bin/mocplay +++ b/.local/bin/mocplay @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -eu config=$XDG_CONFIG_HOME/moc -mocp -M "$config" -S > /dev/null 2>&1; +mocp -M "$config" -S > /dev/null 2>&1 || true; mocp -M "$config" -pca "$@" diff --git a/.local/bin/mplayer-wrapper b/.local/bin/mplayer-wrapper new file mode 100755 index 0000000..359a4f1 --- /dev/null +++ b/.local/bin/mplayer-wrapper @@ -0,0 +1,3 @@ +#!/bin/sh -eu +export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer" +mplayer "$@" |