diff options
Diffstat (limited to 'bin/run_with_dmenu.sh')
-rwxr-xr-x | bin/run_with_dmenu.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/run_with_dmenu.sh b/bin/run_with_dmenu.sh index c7bf9dd..a0dc7cf 100755 --- a/bin/run_with_dmenu.sh +++ b/bin/run_with_dmenu.sh @@ -1,7 +1,6 @@ #!/usr/bin/env zsh -# set -o pipefail -source ~/scripts/zshrc_stripped.sh -COMMAND=$(echo "" | dmenu -h 20 -p "Quick Term:") +. ~/scripts/zshrc_stripped.sh +COMMAND=$(echo "" | dmenu -i -l 20 -p "Quick Term:") RESULT=$(eval "$COMMAND") -echo $RESULT | dmenu -h 20 -p "Quick Term Out:" > /dev/null +echo $RESULT | dmenu -i -l 20 -p "Quick Term Out:" | xsel -ib |