summaryrefslogtreecommitdiff
path: root/user/adelie-kde-theme/adelie-kde-theme.js
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-08 02:13:44 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-08 02:13:44 -0600
commit2901ac6f202089bf2080b79ac12d251d6a34f6ad (patch)
tree3f30f819c35c9d6c106c063e56203eb730faee69 /user/adelie-kde-theme/adelie-kde-theme.js
parent34bd072dbef9f246959a74237f85c486c0f74fe5 (diff)
downloadpackages-2901ac6f202089bf2080b79ac12d251d6a34f6ad.tar.gz
packages-2901ac6f202089bf2080b79ac12d251d6a34f6ad.tar.bz2
packages-2901ac6f202089bf2080b79ac12d251d6a34f6ad.tar.xz
packages-2901ac6f202089bf2080b79ac12d251d6a34f6ad.zip
user/adelie-kde-theme: Use LookAndFeel package
Diffstat (limited to 'user/adelie-kde-theme/adelie-kde-theme.js')
-rw-r--r--user/adelie-kde-theme/adelie-kde-theme.js33
1 files changed, 0 insertions, 33 deletions
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 81e88257a..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', 'background');
- }
- }
-}
-