aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-05-07 03:50:14 -0400
committertdro <tdro@users.noreply.github.com>2021-05-07 03:50:14 -0400
commit53c6027c611f07646c9ba4577b672847c57d6403 (patch)
tree859350af4538fedccbc16dea2391aff73cf27b21 /.local
parent78b93bfd2afe96f85d4a9d0793b4ba286cc63759 (diff)
downloaddotfiles-53c6027c611f07646c9ba4577b672847c57d6403.tar.gz
dotfiles-53c6027c611f07646c9ba4577b672847c57d6403.tar.bz2
dotfiles-53c6027c611f07646c9ba4577b672847c57d6403.zip
.local/bin: Shadow mplayer
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/mplayer3
-rwxr-xr-x.local/bin/mplayer-wrapper3
-rw-r--r--.local/share/applications/video.desktop2
3 files changed, 4 insertions, 4 deletions
diff --git a/.local/bin/mplayer b/.local/bin/mplayer
new file mode 100755
index 0000000..0598484
--- /dev/null
+++ b/.local/bin/mplayer
@@ -0,0 +1,3 @@
+#!/bin/sh -eu
+export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"
+$(which mplayer --all | grep -v "local/bin" | head -n 1) "$@"
diff --git a/.local/bin/mplayer-wrapper b/.local/bin/mplayer-wrapper
deleted file mode 100755
index 359a4f1..0000000
--- a/.local/bin/mplayer-wrapper
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh -eu
-export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"
-mplayer "$@"
diff --git a/.local/share/applications/video.desktop b/.local/share/applications/video.desktop
index 06ba60a..da28a63 100644
--- a/.local/share/applications/video.desktop
+++ b/.local/share/applications/video.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=Video Player
Type=Application
-Exec=mplayer-wrapper %F
+Exec=mplayer %F
Terminal=false
NoDisplay=true