From 26ff77a435709558832f46bfd6ac44ed654b999f Mon Sep 17 00:00:00 2001 From: Nippy Date: Thu, 7 May 2026 20:05:44 +0200 Subject: update raveos theme --- .../etc/calamares/modules/netinstall-desktop.yaml | 1 + .../etc/calamares/modules/shellprocess-final.conf | 3 ++- .../etc/systemd/system/reflector-once.service | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 raveos-calamares-theme/etc/systemd/system/reflector-once.service (limited to 'raveos-calamares-theme/etc') diff --git a/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml b/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml index db9c34c..3e81174 100644 --- a/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml +++ b/raveos-calamares-theme/etc/calamares/modules/netinstall-desktop.yaml @@ -27,6 +27,7 @@ - sddm-astronaut-theme - pipewire-jack - hblock + - reflector - raveos-tools - name: "KDE Plasma Desktop - Alap desktop, nincs általunk témázva" selected: false diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf index 9a337c4..cd28eaa 100644 --- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf +++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf @@ -22,4 +22,5 @@ script: - "if [ -x ${ROOT}/usr/lib/raveos-gnome-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-gnome-theme/auto-apply.sh; fi" - "if [ -x ${ROOT}/usr/lib/raveos-cosmic-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-cosmic-theme/auto-apply.sh; fi" - "if [ -x ${ROOT}/usr/lib/raveos-kde-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-kde-theme/auto-apply.sh; fi" - - "if [ -x ${ROOT}/usr/lib/raveos-hyprland-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-hyprland-theme/auto-apply.sh; fi" \ No newline at end of file + - "if [ -x ${ROOT}/usr/lib/raveos-hyprland-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-hyprland-theme/auto-apply.sh; fi" + - "chroot ${ROOT} systemctl enable reflector-once.service" \ No newline at end of file diff --git a/raveos-calamares-theme/etc/systemd/system/reflector-once.service b/raveos-calamares-theme/etc/systemd/system/reflector-once.service new file mode 100644 index 0000000..b21c1fa --- /dev/null +++ b/raveos-calamares-theme/etc/systemd/system/reflector-once.service @@ -0,0 +1,14 @@ +[Unit] +Description=Update pacman mirrorlist with reflector +Wants=network-online.target +After=network-online.target +ConditionPathExists=/etc/systemd/system/reflector-once.service +After=multi-user.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/reflector -c HU,AT,DE,PL,CZ --protocol https --sort rate --latest 20 --download-timeout 10 --threads 5 --save /etc/pacman.d/mirrorlist +ExecStartPost=/bin/systemctl disable reflector-once.service + +[Install] +WantedBy=multi-user.target -- cgit v1.3