summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-04-29 00:21:49 -0400
committerDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-04-29 00:21:49 -0400
commitacebc0b5edc43f7ce48506af9bf5b4d683838b6f (patch)
treed1305cff9bb45dbeed2161b4d13a15480b1c9b64
parent8ee914aa27da5b701a695aac89f745bc2b780ca8 (diff)
improve firestartx by removing title featurej
-rwxr-xr-xfirestartx10
1 files changed, 9 insertions, 1 deletions
diff --git a/firestartx b/firestartx
index 748b9dd..636fc84 100755
--- a/firestartx
+++ b/firestartx
@@ -22,6 +22,7 @@ fi
22 22
23# TITLE=$* # lol, startx doesn't support arguments with spaces 23# TITLE=$* # lol, startx doesn't support arguments with spaces
24TITLE=$1 24TITLE=$1
25TITLE= # blank title documents the screen grab keys in the title
25 26
26if [ "$1" != firestart ] 27if [ "$1" != firestart ]
27then 28then
@@ -41,7 +42,14 @@ then
41 xinit "$@" -- $(which Xephyr) "$NEW_DISPLAY" -resizeable -p 0 -terminate ${TITLE:+ -title "$TITLE"} 42 xinit "$@" -- $(which Xephyr) "$NEW_DISPLAY" -resizeable -p 0 -terminate ${TITLE:+ -title "$TITLE"}
42else 43else
43 set -x 44 set -x
44 startx -- $(which Xephyr) "$NEW_DISPLAY" -resizeable -p 0 -terminate ${TITLE:+ -title "$TITLE"} & 45 dpi=$(xrdb -query | sed -n -e 's/^Xft.dpi:[ \t]*//p')
46 startx -- "$(which Xephyr)" "$NEW_DISPLAY" \
47 -resizeable \
48 -p 0 \
49 -terminate \
50 ${TITLE:+ -title "$TITLE"} \
51 ${dpi:+ -dpi "$dpi"} \
52 &
45 if [ $# -gt 0 ] 53 if [ $# -gt 0 ]
46 then 54 then
47 DISPLAY=$NEW_DISPLAY "$@" & 55 DISPLAY=$NEW_DISPLAY "$@" &