From 7b39af75f27155c13aa007c74b890492f648e0e8 Mon Sep 17 00:00:00 2001 From: Nikita Ivanov Date: Sat, 14 May 2022 03:07:02 +0500 Subject: [PATCH] Remove unnecessary '\n' --- rofi-checklist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi-checklist.sh b/rofi-checklist.sh index a3eb51d..dcc4161 100755 --- a/rofi-checklist.sh +++ b/rofi-checklist.sh @@ -65,7 +65,7 @@ case $menu in esac # Run rofi/dmenu, replace display checkmarks with raw syntax -selection=`printf "%s%s%s\n" "$clear" "$clear_completed" "$list" | eval "$command -i $options -p \" Task:\""` +selection=`printf "%s%s%s" "$clear" "$clear_completed" "$list" | eval "$command -i $options -p \" Task:\""` selection=${selection//"$EMPTY"/"$EMPTY_RAW"} selection=${selection//"$FILLED"/"$FILLED_RAW"}