diff options
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 12 | ||||
l--------- | media/lean/bg/background.jpg | 2 | ||||
-rw-r--r-- | media/lean/bg/theme | 2 | ||||
-rw-r--r-- | media/lean/bg/willibrordhaeghe.jpg | bin | 0 -> 305255 bytes |
4 files changed, 15 insertions, 1 deletions
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 <<EOT > ${LIVE_ROOTDIR}/home/${LIVEUID}/.config/plasmarc +[Theme] +name=breeze-dark +EOT + fi +fi + } # End of plasma5_custom_bg() # --------------------------------------------------------------------------- diff --git a/media/lean/bg/background.jpg b/media/lean/bg/background.jpg index 1bb60f6..2094cf4 120000 --- a/media/lean/bg/background.jpg +++ b/media/lean/bg/background.jpg @@ -1 +1 @@ -groedezeeland.jpg
\ No newline at end of file +willibrordhaeghe.jpg
\ No newline at end of file diff --git a/media/lean/bg/theme b/media/lean/bg/theme new file mode 100644 index 0000000..37a6131 --- /dev/null +++ b/media/lean/bg/theme @@ -0,0 +1,2 @@ +# either 'dark' or 'light' +dark diff --git a/media/lean/bg/willibrordhaeghe.jpg b/media/lean/bg/willibrordhaeghe.jpg Binary files differnew file mode 100644 index 0000000..f10685a --- /dev/null +++ b/media/lean/bg/willibrordhaeghe.jpg |