~chambln/pathmenu

Browse directories and select files with dmenu
Improve xdotool usage
Add missing full stop
Stop shellcheck from complaining

clone

read-only
https://git.sr.ht/~chambln/pathmenu
read/write
git@git.sr.ht:~chambln/pathmenu

You can also use your local clone with git send-email.

#pathmenu

builds.sr.ht status

pathmenu is a purely POSIX shell script that allows the user to browse the filesystem and select files with dmenu(1).

As in the example below, the -c command option makes it possible to use something else like fzf(1) or rofi(1) as a drop-in replacement for dmenu.

pathmenu -c 'fzf --prompt "$PWD/"'

#Installation

make install

Optionally specify a prefix; for example:

make PREFIX=~/.local install

#Usage

See pathmenu(1) and the example scripts in examples/*.

Hint: When using dmenu(1), partial matches can be ‘selected’ explicitly (i.e. without completing them) using Shift + Return; this is useful for selecting a non-existent file whose name is a substring of an existing file.

#To-do

  • [ ] Reimplement dicemenu in safe POSIX sh