From 10ffcecb316a50329da541e073f6ac4015f2fb49 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 14 Dec 2019 22:21:38 +0000 Subject: [PATCH] scripts/rofi-*: restart viewer after updating --- scripts/rofi-emoji | 3 ++- scripts/rofi-fontawesome | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/rofi-emoji b/scripts/rofi-emoji index 50de6fd..76d1eaf 100755 --- a/scripts/rofi-emoji +++ b/scripts/rofi-emoji @@ -89,7 +89,8 @@ function display() { if [ "${line[@]}" == "$update" ]; then download - exit 0 + display + return fi line=($line) diff --git a/scripts/rofi-fontawesome b/scripts/rofi-fontawesome index d8e6dd6..cddc20c 100755 --- a/scripts/rofi-fontawesome +++ b/scripts/rofi-fontawesome @@ -65,7 +65,8 @@ function display() { if [ "${line[@]}" == "$update" ]; then download - exit 0 + display + return fi #IFS=$'\t'