pash-dmenu

This commit is contained in:
randomuser 2022-06-26 19:55:51 -05:00
parent 78faf3f354
commit 4a6e255171
2 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,7 @@ sh:
cp -f sh/status $(DESTDIR)$(PREFIX)/bin
cp -f sh/cfg $(DESTDIR)$(PREFIX)/bin
cp -f sh/fire $(DESTDIR)$(PREFIX)/bin
cp -f sh/pash-dmenu $(DESTDIR)$(PREFIX)/bin
mkc: c/scream c/timer c/boid c/anaconda c/simplestatus c/colors

7
sh/pash-dmenu Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
sel="$(pash l | dmenu)"
[ "$?" -eq 1 ] && exit 0
# requires bspc rule -a st-gpg-menu state=floating
st -c st-gpg-menu -e pash c "$sel"