From 639df066a8a2f10aa405b5750b6d5a25c489b2cf Mon Sep 17 00:00:00 2001 From: Tulili Date: Tue, 23 Apr 2024 12:16:53 -0300 Subject: [PATCH] fix: add problematic overrides to here instead of presets package --- config/common/plasma/files.yml | 3 +++ .../plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop | 9 +++++++++ config/files/plasma/etc/xdg/kcm-about-distrorc | 4 ++++ config/templates/recipe-std.jsonnet | 2 +- 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 config/common/plasma/files.yml create mode 100644 config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop create mode 100644 config/files/plasma/etc/xdg/kcm-about-distrorc diff --git a/config/common/plasma/files.yml b/config/common/plasma/files.yml new file mode 100644 index 0000000..3fe9507 --- /dev/null +++ b/config/common/plasma/files.yml @@ -0,0 +1,3 @@ +type: files +files: + - plasma: /usr diff --git a/config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop b/config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop new file mode 100644 index 0000000..41c26cf --- /dev/null +++ b/config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=User folders update +TryExec=xdg-user-dirs-update +Exec=xdg-user-dirs-update +StartupNotify=false +NoDisplay=true + +X-KDE-autostart-phase=1 diff --git a/config/files/plasma/etc/xdg/kcm-about-distrorc b/config/files/plasma/etc/xdg/kcm-about-distrorc new file mode 100644 index 0000000..ef212fa --- /dev/null +++ b/config/files/plasma/etc/xdg/kcm-about-distrorc @@ -0,0 +1,4 @@ +[General] +LogoPath=/usr/share/ublue-os/atomic-studio/icons/logo.png +Name=Atomic Studio +Website=https://github.com/atomic-studio-org/Atomic-Studio diff --git a/config/templates/recipe-std.jsonnet b/config/templates/recipe-std.jsonnet index 7434caf..473f68f 100644 --- a/config/templates/recipe-std.jsonnet +++ b/config/templates/recipe-std.jsonnet @@ -9,7 +9,7 @@ local modules = { nvidia: [], amd: ["packages", "scripts"], gnome: ["apps"], - plasma: ["apps", "scripts"], + plasma: ["apps", "scripts", "files"], audio: ["audinux", "pipewire-packages"], misc: [{ "type": "yafti" }, { "type": "signing" }], };