diff options
author | terminaldweller <thabogre@gmail.com> | 2021-05-14 18:14:50 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-05-14 18:14:50 +0000 |
commit | 6e528248414e330c9e25e81596ab47b8b8a5b701 (patch) | |
tree | e1aa41a7f3198eeac187e6177ec7d4a33db229d3 /bin/run_with_dmenu.sh | |
download | scripts-master.tar.gz scripts-master.zip |
first commitmaster
Diffstat (limited to 'bin/run_with_dmenu.sh')
-rwxr-xr-x | bin/run_with_dmenu.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/run_with_dmenu.sh b/bin/run_with_dmenu.sh new file mode 100755 index 0000000..c7bf9dd --- /dev/null +++ b/bin/run_with_dmenu.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env zsh + +# set -o pipefail +source ~/scripts/zshrc_stripped.sh +COMMAND=$(echo "" | dmenu -h 20 -p "Quick Term:") +RESULT=$(eval "$COMMAND") +echo $RESULT | dmenu -h 20 -p "Quick Term Out:" > /dev/null |