aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu')
-rw-r--r--dmenu/Makefile2
-rwxr-xr-xdmenu/dmenu7
2 files changed, 9 insertions, 0 deletions
diff --git a/dmenu/Makefile b/dmenu/Makefile
index 85e0681..5ed7d04 100644
--- a/dmenu/Makefile
+++ b/dmenu/Makefile
@@ -6,12 +6,14 @@ install:
$(CHECK_INSTALLED) vis
make -C unicode.d
mkdir -p -- ~/.local/bin
+ ln -sf -- ~/.dotfiles/dmenu/dmenu ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/man ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/ipa ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/unicode ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/plumb ~/.local/bin/
uninstall:
+ -unlink -- ~/.local/bin/dmenu
-unlink -- ~/.local/bin/man
-unlink -- ~/.local/bin/ipa
-unlink -- ~/.local/bin/unicode
diff --git a/dmenu/dmenu b/dmenu/dmenu
new file mode 100755
index 0000000..42a68f0
--- /dev/null
+++ b/dmenu/dmenu
@@ -0,0 +1,7 @@
+#!/bin/dash
+
+if test -x /usr/local/bin/dmenu; then
+ exec /usr/local/bin/dmenu -fn 'schumacher clean-8' "$@"
+else
+ exec /usr/bin/dmenu -fn 'schumacher clean-8' "$@"
+fi