diff options
| author | Manuel Palenzuela <[email protected]> | 2019-06-30 20:00:22 +0200 |
|---|---|---|
| committer | Manuel Palenzuela <[email protected]> | 2019-06-30 20:00:22 +0200 |
| commit | 4297c588956c8f36f0edbbdb9ac0312676126a9b (patch) | |
| tree | dbf583fa4b5f0e2057fe3fc643a7c4ee18c3316c | |
| parent | Added videos script (diff) | |
| download | dmenu-4297c588956c8f36f0edbbdb9ac0312676126a9b.tar.gz dmenu-4297c588956c8f36f0edbbdb9ac0312676126a9b.tar.bz2 dmenu-4297c588956c8f36f0edbbdb9ac0312676126a9b.zip | |
Improved videos script
| -rw-r--r-- | scripts/videos | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/videos b/scripts/videos index 118d8cd..f7a7a41 100644 --- a/scripts/videos +++ b/scripts/videos @@ -1,6 +1,6 @@ #!/bin/bash -choice=$(echo '' | dmenu -p "Paste a link to a video:" -sb "#222222") #Add text describing what its doing +choice=$( (echo 1 | grep 0) | dmenu -p "Paste a link to a video:") if [[ $choice == '' ]]; then echo "No input." exit 1 |