diff options
Diffstat (limited to 'user/adelie-kde-theme')
-rw-r--r-- | user/adelie-kde-theme/APKBUILD | 26 | ||||
-rw-r--r-- | user/adelie-kde-theme/adelie-kde-theme.js | 33 | ||||
-rw-r--r-- | user/adelie-kde-theme/kdeglobals | 10 | ||||
-rw-r--r-- | user/adelie-kde-theme/kscreenlockerrc | 13 |
4 files changed, 15 insertions, 67 deletions
diff --git a/user/adelie-kde-theme/APKBUILD b/user/adelie-kde-theme/APKBUILD index 5eb3e9509..3631bc35c 100644 --- a/user/adelie-kde-theme/APKBUILD +++ b/user/adelie-kde-theme/APKBUILD @@ -2,27 +2,27 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=adelie-kde-theme pkgver=1.0 -pkgrel=2 +pkgrel=4 pkgdesc="The Adélie Linux official KDE theme" url="https://adelielinux.org/" arch="noarch" options="!check" # No test suite. license="NCSA" depends="adelie-wallpapers papirus-icons" -source="kdeglobals - kscreenlockerrc - adelie-kde-theme.js +makedepends="" +subpackages="" +source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.xz + kdeglobals " -builddir="$srcdir/" package() { - cd "$builddir" - install -D -m644 kdeglobals "$pkgdir"/etc/xdg/kdeglobals - install -m644 kscreenlockerrc "$pkgdir"/etc/xdg/kscreenlockerrc - install -D -m644 adelie-kde-theme.js \ - "$pkgdir"/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/adelie-kde-theme.js + install -D -m644 "$srcdir"/kdeglobals "$pkgdir"/etc/xdg/kdeglobals + install -m644 "$builddir"/kscreenlockerrc \ + "$pkgdir"/etc/xdg/kscreenlockerrc + mkdir -p "$pkgdir"/usr/share/plasma/look-and-feel + mv "$builddir"/org.adelielinux.*.desktop \ + "$pkgdir"/usr/share/plasma/look-and-feel/ } -sha512sums="ed5dfa83a4d2f6b171b3a3238dea626b9ca9e1afd72ae026ef680a5eef0c3fff4aaf7c82f4bf394c26d002fde7517a4c842f9bdb9059107200d17f48e432b940 kdeglobals -b94c261d2ce098af1c1856f92b20485167be4f59b66fd3a47379d339a21b4c7a9c274dca2964bbc5f2adff74e514eb73e988db749e22d35817f37b10303fecca kscreenlockerrc -05a4649938755b3b3c058d6a7507065e07ba29ac448d314db3fc93623008eb1903ae5bcc9c62d0b29b37dd0e85246bc2dbfc2792c69e0f387e99683275db09cd adelie-kde-theme.js" +sha512sums="1a839b3c96e5881be9c0b096984d79a320f66f65bdcf2749b31aca7a04d7eb8edc1326649a2fcf4b6f2012c0b5d6967d1066397542fec44c7d1ac44b0599b462 adelie-kde-theme-1.0.tar.xz +84940738263518df79cebaa3c158ed3713009f1a8cd201a6de06cc2a935845aba8a90a60882b575e5b17321706786a7ee6addc30dc530ce0453821d0ba157616 kdeglobals" diff --git a/user/adelie-kde-theme/adelie-kde-theme.js b/user/adelie-kde-theme/adelie-kde-theme.js deleted file mode 100644 index 596d386b5..000000000 --- a/user/adelie-kde-theme/adelie-kde-theme.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2016 Aurélien COUDERC <zecoucou@free.fr> -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see <https://www.gnu.org/licenses/>. - -// This script is provided by desktop-base -// It is run by Plasma 5 on upgrade. -// Plasma checks that the script is only run once for each version. -desktops = desktops() - -for (desktop in desktops) { - // Only set up the wallpaper if the plugin is the default. - // Otherwise it means the user chose another plugin and we don’t want to override that. - if (desktops[desktop].wallpaperPlugin == 'org.kde.image') { - desktops[desktop].currentConfigGroup = Array('Wallpaper', 'org.kde.image', 'General') - if (!desktops[desktop].readConfig('Image')) { - // Only set up the wallpaper if the wallpaper image is empty (=default). - // Otherwise it means the user selected a picture and we don’t want to override that. - desktops[desktop].writeConfig('Image', 'Sunset'); - } - } -} - diff --git a/user/adelie-kde-theme/kdeglobals b/user/adelie-kde-theme/kdeglobals index 2ec479dc2..80168401d 100644 --- a/user/adelie-kde-theme/kdeglobals +++ b/user/adelie-kde-theme/kdeglobals @@ -1,8 +1,2 @@ -[General] -ColorScheme=Steel - -[Icons] -Theme=Papirus - -[WM] -activeBackground=104,0,0 +[KDE] +LookAndFeelPackage=org.adelielinux.kdetheme.desktop diff --git a/user/adelie-kde-theme/kscreenlockerrc b/user/adelie-kde-theme/kscreenlockerrc deleted file mode 100644 index 54b5cbd92..000000000 --- a/user/adelie-kde-theme/kscreenlockerrc +++ /dev/null @@ -1,13 +0,0 @@ -[$Version] -update_info=kscreenlocker.upd:0.1-autolock - -[Greeter] -WallpaperPlugin=org.kde.image - -[Greeter][Wallpaper][org.kde.color][General] -Color=128,0,0 - -[Greeter][Wallpaper][org.kde.image][General] -Color=128,0,0 -FillMode=1 -Image=LockScreen |