diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | dmenu_exclude | 23 | ||||
-rwxr-xr-x | dmenu_run | 2 |
3 files changed, 27 insertions, 3 deletions
@@ -34,7 +34,7 @@ clean: dist: clean mkdir -p dmenu-$(VERSION) cp LICENSE Makefile README arg.h config.def.h config.mk dmenu.1\ - drw.h util.h dmenu_path dmenu_run stest.1 $(SRC)\ + drw.h util.h dmenu_path dmenu_run dmenu_exclude stest.1 $(SRC)\ dmenu-$(VERSION) tar -cf dmenu-$(VERSION).tar dmenu-$(VERSION) gzip dmenu-$(VERSION).tar @@ -42,7 +42,7 @@ dist: clean install: all mkdir -p $(DESTDIR)$(PREFIX)/bin - cp -f dmenu dmenu_path dmenu_run stest $(DESTDIR)$(PREFIX)/bin + cp -f dmenu dmenu_path dmenu_run dmenu_exclude stest $(DESTDIR)$(PREFIX)/bin chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_path chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_run @@ -57,6 +57,7 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/dmenu\ $(DESTDIR)$(PREFIX)/bin/dmenu_path\ $(DESTDIR)$(PREFIX)/bin/dmenu_run\ + $(DESTDIR)$(PREFIX)/bin/dmenu_exclude\ $(DESTDIR)$(PREFIX)/bin/stest\ $(DESTDIR)$(MANPREFIX)/man1/dmenu.1\ $(DESTDIR)$(MANPREFIX)/man1/stest.1 diff --git a/dmenu_exclude b/dmenu_exclude new file mode 100644 index 0000000..d2a9f15 --- /dev/null +++ b/dmenu_exclude @@ -0,0 +1,23 @@ +4chget +dc +du +mount +umount +tr +trash +pic +picom +pass +start-pulseaudio-x11 +startx +stat +stdbuf +stest +stream +stramzip +strings +strip +stty +w +xev +yt-dlp @@ -1,2 +1,2 @@ #!/bin/sh -dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} & +dmenu_path | grep -vw -f /usr/local/bin/dmenu_exclude | dmenu "$@" | ${SHELL:-"/bin/sh"} & |