projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67ac95
)
simplifying title of the screen
author
Chris Koeritz
<fred@gruntose.com>
Mon, 14 May 2018 04:03:51 +0000
(
00:03
-0400)
committer
Chris Koeritz
<fred@gruntose.com>
Mon, 14 May 2018 04:03:51 +0000
(
00:03
-0400)
by using basename of the app. still not sanitized, but at least a lot shorter.
scripts/system/screeno.sh
patch
|
blob
|
history
diff --git
a/scripts/system/screeno.sh
b/scripts/system/screeno.sh
index 5217d70a3b97fac495d0e50c7d3d6e827ac68f08..e88c5aedaf56169dff076d5171c86494a86249c7 100644
(file)
--- 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 titl
e.
+ title="$
(basename $app)
"
+#hmmm: we should be sanitizing that guy! don't want a
weird title or a dangerous on
e.
fi
screen -L -S "$title" -d -m "$app"