diff --git a/local.yml b/local.yml index 62867dc..e0273df 100644 --- a/local.yml +++ b/local.yml @@ -193,41 +193,11 @@ dest: "/home/{{ username }}/.config/hypr/hyprpaper.conf" mode: '0644' - - name: "STYLING :: Opret og konfigurer SDDM's hoved-fil (endelig version)" + - name: "STYLING :: Konfigurer SDDM tema via template (endelig, ren version)" become: true - ansible.builtin.copy: - dest: /etc/sddm.conf - content: | - # ===== SDDM Hovedkonfiguration - Stargate Atlantis Tema ===== - # Denne fil indeholder BÅDE valg af tema OG tema-specifikke rettelser. - - [Theme] - Current=sugar-candy - - [General] - # Sti til dit baggrundsbillede - background=/usr/share/backgrounds/atlantis-spaceship.jpg - - # Sektionen til tema-specifikke farver og layout - [Design Customizations] - # Viser en baggrundsplade bag selve login-felterne - HaveFormBackground=true - - # Placerer login-boksen i midten - FormPosition=center - - # Afrundede hjørner, der matcher resten af dit tema - RoundCorners=5 - - # Aktiverer den slørede "frosted glass" effekt for login-boksen - PartialBlur=true - BlurRadius=100 - - # Farver baseret på dit Atlantis-tema - text_color=#cad3f5 - primary_color=#74c7ec - secondary_color=#89b4fa - backgroundColor=#24273aE6 + ansible.builtin.template: + src: templates/sddm-theme.conf.j2 + dest: /usr/share/sddm/themes/sugar-candy/theme.conf mode: '0644' - name: "FIREWALL :: Konfigurer UFW's standardpolitikker" diff --git a/templates/sddm-theme.conf.j2 b/templates/sddm-theme.conf.j2 new file mode 100644 index 0000000..1b4faf4 --- /dev/null +++ b/templates/sddm-theme.conf.j2 @@ -0,0 +1,55 @@ +# templates/sddm-theme.conf.j2 + +# ===== SDDM Tema Konfiguration - Stargate Atlantis ===== + +[General] +background=/usr/share/backgrounds/atlantis-spaceship.jpg +DimBackgroundImage="0.2" + +[Blur Settings] +PartialBlur="true" +BlurRadius="100" + +[Design Customizations] +HaveFormBackground="true" +FormPosition="center" +RoundCorners="5" +MainColor="#cad3f5" +AccentColor="#74c7ec" +BackgroundColor="#24273aE6" +OverrideLoginButtonTextColor="" +InterfaceShadowSize="6" +InterfaceShadowOpacity="0.6" +ScreenPadding="0" +Font="Noto Sans" +FontSize="" + +[Interface Behavior] +ForceRightToLeft="false" +ForceLastUser="true" +ForcePasswordFocus="true" +ForceHideCompletePassword="false" +ForceHideVirtualKeyboardButton="true" +ForceHideSystemButtons="false" +AllowEmptyPassword="false" +AllowBadUsernames="false" + +[Locale Settings] +Locale="" +HourFormat="HH:mm" +DateFormat="dddd, d. MMMM" + +[Translations] +HeaderText="Welcome!" +TranslatePlaceholderUsername="" +TranslatePlaceholderPassword="" +TranslateShowPassword="" +TranslateLogin="" +TranslateLoginFailedWarning="" +TranslateCapslockWarning="" +TranslateSession="" +TranslateSuspend="" +TranslateHibernate="" +TranslateReboot="" +TranslateShutdown="" +TranslateVirtualKeyboardButton="" \ No newline at end of file