aboutsummaryrefslogtreecommitdiffstats
path: root/bin/run_with_dmenu.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-19 07:08:45 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-19 07:08:45 +0000
commit034c00886af9ded731c2689f0bcc42f1381127c9 (patch)
tree2adbca62e94a67e540bc86ba0b9970c830166d61 /bin/run_with_dmenu.sh
parentupdate (diff)
downloadscripts-034c00886af9ded731c2689f0bcc42f1381127c9.tar.gz
scripts-034c00886af9ded731c2689f0bcc42f1381127c9.zip
mostly pretty git logs
Diffstat (limited to 'bin/run_with_dmenu.sh')
-rwxr-xr-xbin/run_with_dmenu.sh7
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