From a8bbda69faa36ea7b8f7f625c7ec96d7554686ad Mon Sep 17 00:00:00 2001 From: Celestia Ludenberg Date: Sat, 4 Jul 2026 22:43:28 +0200 Subject: [PATCH] fix: override breeze-dark start-here-kde icons across all sizes and add kickoff plasmoid setup script --- packages/antergos-plasma-theme/PKGBUILD | 18 ++++++++++++++++-- ...dark-desktop-plasmoidsetupscript-kickoff.js | 3 +++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 packages/antergos-plasma-theme/antergosdark-desktop-plasmoidsetupscript-kickoff.js diff --git a/packages/antergos-plasma-theme/PKGBUILD b/packages/antergos-plasma-theme/PKGBUILD index 952c644..f83f5d0 100644 --- a/packages/antergos-plasma-theme/PKGBUILD +++ b/packages/antergos-plasma-theme/PKGBUILD @@ -2,7 +2,7 @@ pkgname=antergos-plasma-theme pkgver=1 -pkgrel=1 +pkgrel=2 pkgdesc='Antergos NeXT Plasma desktop theme, look-and-feel, and splash screen' arch=('any') url="https://github.com/Antergos-NeXT/antergos-packages" @@ -19,8 +19,10 @@ source=( "antergosdark-desktop-defaults" "antergosdark-desktop-layout.js" "antergosdark-desktop-splash.qml" + "antergosdark-desktop-plasmoidsetupscript-kickoff.js" + "start-here-kde-antergos.svg" ) -sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP') +sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP') package() { # Plasma Desktop Theme @@ -40,4 +42,16 @@ package() { install -m644 "${srcdir}/antergosdark-desktop-layout.js" "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/layouts/org.kde.plasma.desktop-layout.js" install -dm755 "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/splash" install -m644 "${srcdir}/antergosdark-desktop-splash.qml" "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/splash/Splash.qml" + install -dm755 "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/plasmoidsetupscripts" + install -m644 "${srcdir}/antergosdark-desktop-plasmoidsetupscript-kickoff.js" "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/plasmoidsetupscripts/org.kde.plasma.kickoff.js" + + # Start menu icon for icon theme + install -dm755 "${pkgdir}/usr/share/icons/hicolor/scalable/places" + install -m644 "${srcdir}/start-here-kde-antergos.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/places/start-here-kde-antergos.svg" + + # Override breeze-dark start-here-kde icons so kickoff resolves to Antergos logo + for size in 16 22 24 32 64 96; do + install -dm755 "${pkgdir}/usr/share/icons/breeze-dark/places/${size}" + install -m644 "${srcdir}/start-here-kde-antergos.svg" "${pkgdir}/usr/share/icons/breeze-dark/places/${size}/start-here-kde.svg" + done } diff --git a/packages/antergos-plasma-theme/antergosdark-desktop-plasmoidsetupscript-kickoff.js b/packages/antergos-plasma-theme/antergosdark-desktop-plasmoidsetupscript-kickoff.js new file mode 100644 index 0000000..b9a42a5 --- /dev/null +++ b/packages/antergos-plasma-theme/antergosdark-desktop-plasmoidsetupscript-kickoff.js @@ -0,0 +1,3 @@ +applet.currentConfigGroup = ["General"]; +applet.writeConfig("icon", "start-here-kde-antergos"); +applet.reloadConfig(); \ No newline at end of file