Skip to content

Commit ea0a7cd

Browse files
committed
openSUSE: add shells-helper, make KDE not lock when resuming from sleep
1 parent d93db32 commit ea0a7cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

oscfg/opensuse.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ EOF
192192
cat >"$WORK/etc/skel/.config/kscreenlockerrc" <<EOF
193193
[Daemon]
194194
Autolock=false
195+
LockOnResume=false
195196
EOF
196197

197198
cat >"$WORK/etc/skel/.config/kdesurc" <<EOF
@@ -201,6 +202,15 @@ EOF
201202

202203
fi
203204

205+
# add shells-helper to /etc/skel
206+
if [ ! -f "$WORK/etc/skel/.bin/shells-helper" ]; then
207+
mkdir -p "$WORK/etc/skel/.bin"
208+
local O="~"
209+
cd "$WORK/etc/skel/.bin"
210+
curl -s https://raw.githubusercontent.com/KarpelesLab/make-go/master/get.sh | /bin/sh -s shells-helper
211+
cd "$O"
212+
fi
213+
204214
# add firstrun
205215
add_firstrun NetworkManager-wait-online.service
206216
do_linux_config

0 commit comments

Comments
 (0)