diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/dmbin | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/dmbin b/.local/bin/dmbin new file mode 100755 index 0000000..2d2405b --- /dev/null +++ b/.local/bin/dmbin @@ -0,0 +1,6 @@ +#!/bin/sh -e + +file=$(find "$HOME"/.local/bin -type f | dmenu -i -l 20 -m 0) +bsdsetsid emacsclient -c "$file" +kill -9 "$(ps -p $$ -oppid=)" +exit |