Skip to content

Commit 6c528fe

Browse files
authored
Merge pull request #57 from DanielOaks/opensuse
openSUSE: add shells-helper, make KDE not lock when resuming from sleep
2 parents a8f9ed3 + ea0a7cd commit 6c528fe

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)