dmenu/dmenu_run
bakkeby 3952d1a3a2 Revert 7016369682
This reverts the commit:
   [dmenu][PATCH] call exec in dmenu_run, to avoid dangling shell process

This to be in line with upstream dmenu.
2023-04-03 10:45:38 +02:00

6 lines
262 B
Bash
Executable File

#!/bin/sh
export _JAVA_AWT_WM_NONREPARENTING=1
dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &
# Uncomment for the NAVHISTORY patch (and remove the exec above)
#dmenu_path | dmenu -H "${XDG_CACHE_HOME:-$HOME/.cache/}/dmenu_run.hist" "$@" | ${SHELL:-"/bin/sh"} &