From 7370ab0a8d695ae0388d2b4760b5ade3306648c3 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" Date: Sat, 27 May 2023 16:21:09 +0300 Subject: [PATCH] fix --- pika-kde-settings/debian/changelog | 2 +- pika-kde-settings/debian/postinst | 7 ++--- pika-kde-settings/debian/rules | 7 +++++ .../skel/.config/examples/metadata.desktop | 26 +++++++++++++++++++ .../org.pikaos.kde-theme/contents/defaults | 6 ++--- .../layouts/org.kde.plasma.desktop-layout.js | 10 +++---- .../org.pikaos.kde-theme/metadata.desktop | 6 ++--- .../share/wallpapers/Pika/metadata.desktop | 6 +++++ 8 files changed, 53 insertions(+), 17 deletions(-) create mode 100644 pika-kde-settings/etc/skel/.config/examples/metadata.desktop create mode 100644 pika-kde-settings/usr/share/wallpapers/Pika/metadata.desktop diff --git a/pika-kde-settings/debian/changelog b/pika-kde-settings/debian/changelog index 344e8f2..c7f90c6 100644 --- a/pika-kde-settings/debian/changelog +++ b/pika-kde-settings/debian/changelog @@ -1,4 +1,4 @@ -pika-kde-settings (3.8.6-99pika1.lunar) lunar; urgency=medium +pika-kde-settings (3.8.7-99pika1.lunar) lunar; urgency=medium * Pika-theme diff --git a/pika-kde-settings/debian/postinst b/pika-kde-settings/debian/postinst index e4c13f8..b9e39e7 100755 --- a/pika-kde-settings/debian/postinst +++ b/pika-kde-settings/debian/postinst @@ -2,6 +2,7 @@ set -e -cp /etc/skel/.config/examples/.profile /etc/skel/ -cp /usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png /usr/share/sddm/themes/Orchis/ -cp /etc/skel/.config/examples/theme.conf.user /usr/share/sddm/themes/Orchis/ +cp -f /etc/skel/.config/examples/metadata.desktop /usr/share/plasma/desktoptheme/Orchis-dark/ +cp -f /etc/skel/.config/examples/.profile /etc/skel/ +cp -f /usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png /usr/share/sddm/themes/Orchis/ +cp -f /etc/skel/.config/examples/theme.conf.user /usr/share/sddm/themes/Orchis/ diff --git a/pika-kde-settings/debian/rules b/pika-kde-settings/debian/rules index 78c7615..9679960 100755 --- a/pika-kde-settings/debian/rules +++ b/pika-kde-settings/debian/rules @@ -1,3 +1,10 @@ #! /usr/bin/make -f + +override_dh_install: + dh_install + mkdir -p debian/pika-kde-settings/usr/share/wallpapers/Pika/contents/images/ + ln -s /usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png debian/pika-kde-settings/usr/share/wallpapers/Pika/contents/images/7680x4320.png + ln -s /usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png debian/pika-kde-settings/usr/share/wallpapers/Pika/contents/screenshot.png + %: dh $@ diff --git a/pika-kde-settings/etc/skel/.config/examples/metadata.desktop b/pika-kde-settings/etc/skel/.config/examples/metadata.desktop new file mode 100644 index 0000000..78e06c6 --- /dev/null +++ b/pika-kde-settings/etc/skel/.config/examples/metadata.desktop @@ -0,0 +1,26 @@ +[Desktop Entry] +Name=Orchis-dark +X-KDE-PluginInfo-Author=Vinceliuice +X-KDE-PluginInfo-Email=vinceliuice@hotmail.com +X-KDE-PluginInfo-Name=Orchis-dark +X-KDE-PluginInfo-Version= +X-KDE-PluginInfo-Website= +X-KDE-PluginInfo-Category= +X-KDE-PluginInfo-Depends= +X-KDE-PluginInfo-License=LGPL +X-KDE-PluginInfo-EnabledByDefault=true + +[ContrastEffect] +enabled=false +contrast=0.2 +intensity=0.4 +saturation=1.7 + +[Wallpaper] +defaultWallpaperTheme=Pika +defaultFileSuffix=.png +defaultWidth=7680 +defaultHeight=4320 + +[AdaptiveTransparency] +enabled=true diff --git a/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/defaults b/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/defaults index 2dceec5..d069a51 100644 --- a/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/defaults +++ b/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/defaults @@ -1,11 +1,11 @@ [kcminputrc][Mouse] -cursorTheme=breeze_cursors +cursorTheme=Breeze_Snow [kdeglobals][General] ColorScheme=OrchisDark [kdeglobals][Icons] -Theme=Papirus +Theme=Papirus-Dark [kdeglobals][KDE] widgetStyle=kvantum-dark @@ -18,7 +18,7 @@ LayoutName=org.kde.breeze.desktop [kwinrc][org.kde.kdecoration2] library=org.kde.kwin.aurorae -theme=__aurorae__svg__Orchis-dark +theme=__aurorae__svg__Orchis-dark_Nvidia [plasmarc][Theme] name=Orchis-dark diff --git a/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/layouts/org.kde.plasma.desktop-layout.js b/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/layouts/org.kde.plasma.desktop-layout.js index cbf8c29..3f8f707 100644 --- a/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/layouts/org.kde.plasma.desktop-layout.js +++ b/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/contents/layouts/org.kde.plasma.desktop-layout.js @@ -21,7 +21,7 @@ var layout = { "/Wallpaper/org.kde.image/General": { "Image": "/usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png", "PreviewImage": "", - "SlidePaths": "/usr/share/wallpapers/" + "SlidePaths": "/usr/share/wallpapers/,/usr/share/backgrounds/" } }, "wallpaperPlugin": "org.kde.image" @@ -35,7 +35,7 @@ var layout = { "config": { "/": { "PreloadWeight": "100", - "popupHeight": "506", + "popupHeight": "502", "popupWidth": "665" }, "/General": { @@ -87,13 +87,9 @@ var layout = { "immutability": "1", "lastScreen": "0", "wallpaperplugin": "org.kde.image" - }, - "/ConfigDialog": { - "DialogHeight": "74", - "DialogWidth": "1920" } }, - "height": 2.888888888888889, + "height": 2.4444444444444446, "hiding": "normal", "location": "bottom", "maximumLength": 106.66666666666667, diff --git a/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/metadata.desktop b/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/metadata.desktop index fb97967..f498b69 100644 --- a/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/metadata.desktop +++ b/pika-kde-settings/usr/share/plasma/look-and-feel/org.pikaos.kde-theme/metadata.desktop @@ -1,12 +1,12 @@ [Desktop Entry] -Comment=PikaOS theme -Name=PikaOS +Comment=PikaOS Dark Theme (Based on Orchis) +Name=PikaOS Orchis Dark X-KDE-PluginInfo-Author=Cosmo X-KDE-PluginInfo-Category=Plasma Look And Feel X-KDE-PluginInfo-Email=hotrod.master@hotmail.com X-KDE-PluginInfo-EnabledByDefault=true X-KDE-PluginInfo-License=LGPL 2.1+ X-KDE-PluginInfo-Name=org.pikaos.kde-theme -X-KDE-PluginInfo-Version=0.2 +X-KDE-PluginInfo-Version=0.1 X-KDE-PluginInfo-Website=https://www.pika-os.com X-KDE-ServiceTypes=Plasma/LookAndFeel diff --git a/pika-kde-settings/usr/share/wallpapers/Pika/metadata.desktop b/pika-kde-settings/usr/share/wallpapers/Pika/metadata.desktop new file mode 100644 index 0000000..cb923fb --- /dev/null +++ b/pika-kde-settings/usr/share/wallpapers/Pika/metadata.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Pika +X-KDE-PluginInfo-Name=Pika +X-KDE-PluginInfo-Author=Cosmo +X-KDE-PluginInfo-Email=hotrod.master@hotmail.com +X-KDE-PluginInfo-License=GPLv3