From 4336a52b663996183e75731f899ec9fe567dd52f Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 10 Sep 2023 16:43:25 +0200 Subject: LEAN: add a new Plasma background with a dark theme --- make_slackware_live.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 9ee55ab..71f39f6 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1269,6 +1269,18 @@ FillMode=2 Image=file:///usr/share/${LIVEMAIN}/${LIVEDE,,}/background.jpg EOT +# Is a dark theme requested to match the background atmosphere? +if [ -f ${LIVE_TOOLDIR}/media/${LIVEDE,,}/bg/theme ]; then + if [ "$(grep -v '^#' ${LIVE_TOOLDIR}/media/${LIVEDE,,}/bg/theme)" == "dark" ] + then + mkdir -p ${LIVE_ROOTDIR}/home/${LIVEUID}/.config + cat < ${LIVE_ROOTDIR}/home/${LIVEUID}/.config/plasmarc +[Theme] +name=breeze-dark +EOT + fi +fi + } # End of plasma5_custom_bg() # --------------------------------------------------------------------------- -- cgit v1.2.3