From a755216ccb467a31cd58eef5ae7c23e084f1750c Mon Sep 17 00:00:00 2001 From: Nippy Date: Sat, 26 Sep 2026 18:21:21 +0200 Subject: fix desktop --- raveos-plasma-theme/PKGBUILD | 3 ++- raveos-plasma-theme/kscreenlockerrc | 5 +++++ raveos-plasma-theme/powermanagementprofilesrc | 9 +++++++++ raveos-plasma-theme/raveos-plasma-apply.sh | 26 ++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 raveos-plasma-theme/powermanagementprofilesrc (limited to 'raveos-plasma-theme') diff --git a/raveos-plasma-theme/PKGBUILD b/raveos-plasma-theme/PKGBUILD index 02abd4a..54897c0 100644 --- a/raveos-plasma-theme/PKGBUILD +++ b/raveos-plasma-theme/PKGBUILD @@ -2,7 +2,7 @@ pkgname=raveos-plasma-theme pkgver=1.0.0 -pkgrel=7 +pkgrel=8 pkgdesc="RaveOS Plasma theme payload and installer" arch=('any') url="https://raveos.local" @@ -50,6 +50,7 @@ package() { install -Dm644 "${startdir}/kwalletrc" "${pkgdir}/etc/xdg/kwalletrc" install -Dm644 "${startdir}/ksplashrc" "${pkgdir}/etc/xdg/ksplashrc" install -Dm644 "${startdir}/kscreenlockerrc" "${pkgdir}/etc/xdg/kscreenlockerrc" + install -Dm644 "${startdir}/powermanagementprofilesrc" "${pkgdir}/etc/xdg/powermanagementprofilesrc" install -Dm644 "${startdir}/konsolerc" "${pkgdir}/etc/xdg/konsolerc" install -Dm755 "${startdir}/theme-data/profile.d/raveos-fastfetch.sh" \ diff --git a/raveos-plasma-theme/kscreenlockerrc b/raveos-plasma-theme/kscreenlockerrc index 3a51502..5c7b317 100644 --- a/raveos-plasma-theme/kscreenlockerrc +++ b/raveos-plasma-theme/kscreenlockerrc @@ -1,3 +1,8 @@ +[Daemon] +Autolock=true +LockGrace=5 +Timeout=300 + [Greeter][Wallpaper][org.kde.image][General] FillMode=2 Image=file:///usr/share/backgrounds/raveos/raveos-main-bg.jpeg diff --git a/raveos-plasma-theme/powermanagementprofilesrc b/raveos-plasma-theme/powermanagementprofilesrc new file mode 100644 index 0000000..60ad930 --- /dev/null +++ b/raveos-plasma-theme/powermanagementprofilesrc @@ -0,0 +1,9 @@ +[AC][DimDisplay] +idleTime=180000 + +[AC][DPMSControl] +idleTime=300000 + +[AC][SuspendSession] +idleTime=0 +suspendType=1 diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh index c73bb64..d077fce 100755 --- a/raveos-plasma-theme/raveos-plasma-apply.sh +++ b/raveos-plasma-theme/raveos-plasma-apply.sh @@ -51,12 +51,33 @@ write_kscreenlockerrc() { local target_home="$1" mkdir -p "${target_home}/.config" cat > "${target_home}/.config/kscreenlockerrc" < "${target_home}/.config/powermanagementprofilesrc" <