diff options
author | Mattias Andrée <maandree@kth.se> | 2021-06-26 19:48:28 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-06-26 19:48:28 +0200 |
commit | a991f35e26ef7692e284f5e17f1486b5e5acc5b5 (patch) | |
tree | 94e0f9049e7574b9768d7cdebbd23c27ebe04f05 /mplayer | |
parent | Add startx wrapper that wrapps startx with orphan-reaper (diff) | |
download | dotfiles-a991f35e26ef7692e284f5e17f1486b5e5acc5b5.tar.gz dotfiles-a991f35e26ef7692e284f5e17f1486b5e5acc5b5.tar.bz2 dotfiles-a991f35e26ef7692e284f5e17f1486b5e5acc5b5.tar.xz |
Add the wrappers c, dmenu, mplayer, st, and aur
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | mplayer/Makefile | 4 | ||||
-rwxr-xr-x | mplayer/mplayer | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/mplayer/Makefile b/mplayer/Makefile index c561294..372ea97 100644 --- a/mplayer/Makefile +++ b/mplayer/Makefile @@ -2,13 +2,17 @@ include ../common.mk install: + $(CHECK_INSTALLED) dash mkdir -p -- ~/.config/profile.d test ! -d ~/.config/profile.d/mplayer ln -sf -- ~/.dotfiles/mplayer/user-profile ~/.config/profile.d/mplayer + mkdir -p -- ~/.local/bin + ln -sf -- ~/.dotfiles/mplayer/mplayer ~/.local/bin/ uninstall: -unlink -- ~/.config/profile.d/mplayer -rmdir -- ~/.config/profile.d -rm -rf -- ~/.config/mplayer + -unlink -- ~/.local/bin/mplayer .PHONY: install uninstall diff --git a/mplayer/mplayer b/mplayer/mplayer new file mode 100755 index 0000000..1175d81 --- /dev/null +++ b/mplayer/mplayer @@ -0,0 +1,7 @@ +#!/bin/dash + +if test -x /usr/local/bin/mplayer; then + exec /usr/local/bin/mplayer -softvol -msgcolor "$@" +else + exec /usr/bin/mplayer -softvol -msgcolor "$@" +fi |