dot_testing/utils/sh/pash-dmenu

8 lines
159 B
Plaintext
Raw Normal View History

2022-06-26 19:55:51 -05:00
#!/bin/sh
2022-07-05 14:09:42 -05:00
sel="$(pash l | tmenu)"
2022-06-26 19:55:51 -05:00
[ "$?" -eq 1 ] && exit 0
# requires bspc rule -a st-gpg-menu state=floating
st -c st-gpg-menu -e pash-dmenu-backend "$sel"