commit 8b0593a

hovercats  ·  2022-03-24 21:10:39 +0000 UTC
parent cf8efd5
dsearch: remove misplased l leter in search string. it messed up searches with spaces
1 files changed,  +1, -1
+1, -1
1@@ -16,7 +16,7 @@ ENGINE='https://duckduckgo.com/?q='
2 # Set search string as a variable, and remove spaces, as we cant have any spaces
3 # in our URL. Also make sure the substitution is correct if you change to a
4 # different search engine as they might not be the same.
5-STRING=$(printf '' | dmenu -p 'Search' | sed 's/ /%20l/g')
6+STRING=$(printf '' | dmenu -p 'Search' | sed 's/ /%20/g')
7 
8 # exit if $STRING is empty.
9 if [ "$STRING" = '' ]; then