diff --git a/files/scripts/setsddmtheming.sh b/files/scripts/setsddmtheming.sh new file mode 100644 index 0000000..d48dc60 --- /dev/null +++ b/files/scripts/setsddmtheming.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +sed -i 's/color: "black"/color: "white"/' /usr/share/sddm/themes/maldives/Main.qml +sed -i 's/id: lblPassword/id: lblPassword\ncolor: "white"/' /usr/share/sddm/themes/maldives/Main.qml +sed -i 's/id: lblName/id: lblName\ncolor: "white"/' /usr/share/sddm/themes/maldives/Main.qml +sed -i 's/id: lblSession/id: lblSession\ncolor: "white"/' /usr/share/sddm/themes/maldives/Main.qml +sed -i 's/id: lblLayout/id: lblLayout\ncolor: "white"/' /usr/share/sddm/themes/maldives/Main.qml +sed -i 's/id: errorMessage/id: errorMessage\ncolor: "white"/' /usr/share/sddm/themes/maldives/Main.qml diff --git a/files/system/sddm.conf.d/theme.conf b/files/system/sddm.conf.d/theme.conf new file mode 100644 index 0000000..1007848 --- /dev/null +++ b/files/system/sddm.conf.d/theme.conf @@ -0,0 +1,2 @@ +[Theme] +Current=maldives \ No newline at end of file diff --git a/recipes/components/sddm-module.yml b/recipes/components/sddm-module.yml index 135aae9..c58847d 100644 --- a/recipes/components/sddm-module.yml +++ b/recipes/components/sddm-module.yml @@ -9,6 +9,10 @@ modules: - kwallet - pam-kwallet + - type: script + scripts: + - setsddmtheming.sh + - type: systemd system: enabled: