]> git.newer.systems - dmenu.git/commitdiff
large scale stage
authorTucker Johnson <tucker@newer.systems>
Sun, 1 Jun 2025 18:18:24 +0000 (14:18 -0400)
committerTucker Johnson <tucker@newer.systems>
Sun, 1 Jun 2025 18:18:24 +0000 (14:18 -0400)
FUNDING.yml [deleted file]
Makefile
README.txt [new file with mode: 0644]
dmenu_path [new file with mode: 0755]
dmenu_run [new file with mode: 0755]
extras/dmenu-scripts/dm-kampv [deleted file]
extras/dmenu-scripts/dmenu_path [deleted file]
extras/dmenu-scripts/dmenu_run [deleted file]

diff --git a/FUNDING.yml b/FUNDING.yml
deleted file mode 100644 (file)
index c7c9a22..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-custom: ["https://lukesmith.xyz/donate.html"]
-github: lukesmithxyz
index 5ae2dcc7e2875af5dcd78371f6b4e726e39d69c7..95e6f6ad24f0398f96ae01e3530ba87559aeea61 100644 (file)
--- 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 (file)
index 0000000..7590ab5
--- /dev/null
@@ -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 (executable)
index 0000000..3a7cda7
--- /dev/null
@@ -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 (executable)
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 (executable)
index a61a0ea..0000000
+++ /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 (executable)
index 3a7cda7..0000000
+++ /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 (executable)
index 834ede5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &