aboutsummaryrefslogtreecommitdiff
path: root/rofi
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2017-03-03 21:31:42 +0100
committerSébastien Dailly <sebastien@chimrod.com>2017-03-03 21:31:42 +0100
commitc0044eba31cdf3d575cdf8ae43aff1e7dc7a6529 (patch)
tree20aa47d4c1535f2fc89ea018f007069723c7ebd4 /rofi
parent0c371663f5bb5ea6f3e12318e9321bb0815e24a5 (diff)
Update the configuration
Diffstat (limited to 'rofi')
-rwxr-xr-xrofi/rofi_locate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rofi/rofi_locate.sh b/rofi/rofi_locate.sh
index 1dc4bb9..e00e499 100755
--- a/rofi/rofi_locate.sh
+++ b/rofi/rofi_locate.sh
@@ -1,10 +1,10 @@
#!/bin/sh
-if [ -z $1 ]; then
+if [ -z "$1" ]; then
echo ""
else
if [ -e "$1" ]; then
- xdg-open "$1"
+ xdg-open "$1" > /dev/null
else
echo ""
locate --ignore-case -A ~ $* | grep -v "/\."