improve pash-dmenu

This commit is contained in:
randomuser 2022-06-26 20:24:41 -05:00
parent 4a6e255171
commit ca434c3e7a
3 changed files with 7 additions and 1 deletions

View File

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

View File

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

5
sh/pash-dmenu-backend Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
pash c "$1"
bspc node -d '^9'
sleep 15