aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 19:48:28 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 19:48:28 +0200
commita991f35e26ef7692e284f5e17f1486b5e5acc5b5 (patch)
tree94e0f9049e7574b9768d7cdebbd23c27ebe04f05 /dmenu
parentAdd startx wrapper that wrapps startx with orphan-reaper (diff)
downloaddotfiles-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 '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