From: Tucker Johnson Date: Sun, 1 Jun 2025 18:18:24 +0000 (-0400) Subject: large scale stage X-Git-Url: https://git.newer.systems/?a=commitdiff_plain;h=99c0150a07b06902cfd4f3c48d61a14aca1e7419;p=dmenu.git large scale stage --- diff --git a/FUNDING.yml b/FUNDING.yml deleted file mode 100644 index c7c9a22..0000000 --- a/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -custom: ["https://lukesmith.xyz/donate.html"] -github: lukesmithxyz diff --git a/Makefile b/Makefile index 5ae2dcc..95e6f6a 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ dist: clean install: all mkdir -p $(DESTDIR)$(PREFIX)/bin - cp -f dmenu stest extras/dmenu-scripts/* $(DESTDIR)$(PREFIX)/bin + cp -f dmenu stest dmenu_run dmenu_path extras/dmenu-scripts/* $(DESTDIR)$(PREFIX)/bin cp -fr extras/chars $(DESTDIR)$(LIBPREFIX)/TuCLS/ chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_path diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..7590ab5 --- /dev/null +++ b/README.txt @@ -0,0 +1,29 @@ +> N.B. This copy of dmenu is modified as part of TuCLS (Tucker's configured +> Linux System) +> +> Additional non-source features can be found in the 'extras' directory. + +dmenu - dynamic menu +==================== +dmenu is an efficient dynamic menu for X. + + +Requirements +------------ +In order to build dmenu you need the Xlib header files. + + +Installation +------------ +Edit config.mk to match your local setup (dmenu is installed into +the /usr/local namespace by default). + +Afterwards enter the following command to build and install dmenu +(if necessary as root): + + make clean install + + +Running dmenu +------------- +See the man page for details. diff --git a/dmenu_path b/dmenu_path new file mode 100755 index 0000000..3a7cda7 --- /dev/null +++ b/dmenu_path @@ -0,0 +1,13 @@ +#!/bin/sh + +cachedir="${XDG_CACHE_HOME:-"$HOME/.cache"}" +cache="$cachedir/dmenu_run" + +[ ! -e "$cachedir" ] && mkdir -p "$cachedir" + +IFS=: +if stest -dqr -n "$cache" $PATH; then + stest -flx $PATH | sort -u | tee "$cache" +else + cat "$cache" +fi diff --git a/dmenu_run b/dmenu_run new file mode 100755 index 0000000..834ede5 --- /dev/null +++ b/dmenu_run @@ -0,0 +1,2 @@ +#!/bin/sh +dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} & diff --git a/extras/dmenu-scripts/dm-kampv b/extras/dmenu-scripts/dm-kampv deleted file mode 100755 index a61a0ea..0000000 --- a/extras/dmenu-scripts/dm-kampv +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# Tucker Johnson (git.newer.systems) (tucker@newer.systems) - -# This script is to add out-of the box features to my dmenu build. If you want -# to make changes, make them in the source directory and reinstall. - -killall mpv diff --git a/extras/dmenu-scripts/dmenu_path b/extras/dmenu-scripts/dmenu_path deleted file mode 100755 index 3a7cda7..0000000 --- a/extras/dmenu-scripts/dmenu_path +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -cachedir="${XDG_CACHE_HOME:-"$HOME/.cache"}" -cache="$cachedir/dmenu_run" - -[ ! -e "$cachedir" ] && mkdir -p "$cachedir" - -IFS=: -if stest -dqr -n "$cache" $PATH; then - stest -flx $PATH | sort -u | tee "$cache" -else - cat "$cache" -fi diff --git a/extras/dmenu-scripts/dmenu_run b/extras/dmenu-scripts/dmenu_run deleted file mode 100755 index 834ede5..0000000 --- a/extras/dmenu-scripts/dmenu_run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &