From: Chris Koeritz Date: Mon, 14 May 2018 04:03:51 +0000 (-0400) Subject: simplifying title of the screen X-Git-Tag: 2.140.112^2~46 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f8348089caebfaec0bf14f148ea5a34074319117;p=feisty_meow.git simplifying title of the screen by using basename of the app. still not sanitized, but at least a lot shorter. --- 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"