From f8348089caebfaec0bf14f148ea5a34074319117 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 14 May 2018 00:03:51 -0400 Subject: [PATCH] simplifying title of the screen by using basename of the app. still not sanitized, but at least a lot shorter. --- scripts/system/screeno.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/system/screeno.sh b/scripts/system/screeno.sh index 5217d70a..e88c5aed 100644 --- a/scripts/system/screeno.sh +++ b/scripts/system/screeno.sh @@ -13,8 +13,8 @@ if [ -z "$app" ]; then exit 1 fi if [ -z "$title" ]; then - title="$app" -#hmmm: we should be sanitizing that guy! don't want a long deal title. + title="$(basename $app)" +#hmmm: we should be sanitizing that guy! don't want a weird title or a dangerous one. fi screen -L -S "$title" -d -m "$app" -- 2.34.1