Skip to content

Commit fec283b

Browse files
committed
Fix NO_DECOR handler
1 parent 3eaac97 commit fec283b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • root/etc/s6-overlay/s6-rc.d/init-selkies-config

root/etc/s6-overlay/s6-rc.d/init-selkies-config/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ if [[ ${DISABLE_MOUSE_BUTTONS,,} == "true" ]]; then
146146
fi
147147
if [[ ! -z ${NO_DECOR+x} ]]; then
148148
echo "[ls.io-init] Removing window decorations"
149-
sed -i '/<application class="\*">/a \ <decor>no</decor>' "$SYS_RC_XML"
149+
sed -i 's/<application class="\*">/&<decor>no<\/decor>/' "$SYS_RC_XML"
150150
fi
151151
if [[ ! -z ${NO_FULL+x} ]]; then
152152
echo "[ls.io-init] Disabling maximization"

0 commit comments

Comments
 (0)