From 855b47fe5c962fcd2ab9a7c1fdbf6fed3f5a66a3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:19:29 +0100 Subject: [PATCH] fix customizing color scheme [release 5.25.1-5mamba;Mon Jun 27 2022] --- openmamba-dark.desktop | 47 +++++++++++++++++++++++++++++++++++ openmamba.desktop | 3 ++- plasma-workspace.spec | 56 +++++++++++++++++++++++++++++++++++++----- 3 files changed, 99 insertions(+), 7 deletions(-) create mode 100644 openmamba-dark.desktop diff --git a/openmamba-dark.desktop b/openmamba-dark.desktop new file mode 100644 index 0000000..e197a49 --- /dev/null +++ b/openmamba-dark.desktop @@ -0,0 +1,47 @@ +[Desktop Entry] +Name=openmamba dark +Name[it]=openmamba scuro +Comment=openmamba dark theme for KDE Plasma +Comment[it]=Tema scuro di openmamba per KDE Plasma +Encoding=UTF-8 +Keywords=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate; +Keywords[ca]=Escriptori;Espai de treball;Aparença;Aparença i comportament;Sortida;Bloqueig;Suspensió;Aturada;Hibernació; +Keywords[de]=Desktop;Arbeitsfläche;Erscheinungsbild;Erscheinungsbild und Verhalten;Abmelden;Sperren;Ruhezustand;Tiefschlaf;Herunterfahren; +Keywords[el]=Επιφάνεια εργασίας;Χώρος εργασίας; Εμφάνιση;Όψη και Αίσθηση;Αποσύνδεση;Κλείδωμα;Αναστολή;Τερματισμός;Νάρκη; +Keywords[en_GB]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate; +Keywords[es]=Escritorio;Espacio de trabajo;Apariencia;Aspecto visual;Cerrar sesión;Bloquear;Suspender;Apagar;Hibernar; +Keywords[fi]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;Työpöytä;Työtila;Ulkoasu;Ulkoasu ja tuntuma;Kirjaudu ulos;Lukitse;Valmiustila;Sammuta;Lepotila; +Keywords[gl]=Escritorio;Espazo de traballo;Aparencia;Aparencia e Comportamento;Saír;Trancar;Bloquear;Suspender;Apagar;Hibernar +Keywords[hu]=Asztal;Munkaterület;Megjelenés;Kinézet;Kijelentkezés;Zárolás;Felfüggesztés;Leállítás;Hibernálás +Keywords[id]=Desktop;Ruang Kerja;Tampilan;Tampilan dan Rasa;Keluar;Kunci;Suspensi;Matikan;Hibernasi; +Keywords[it]=desktop;spazio di lavoro;aspetto;uscita;blocco;sospensione;spegnimento;ibernazione; +Keywords[ko]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;데스크톱;작업공간;모양;로그아웃;잠금;대기모드;종료;끄기;최대절전모드 +Keywords[nl]=Bureaublad;Werkruimte;Uiterlijk;Uiterlijk en gedrag;Afmelden;Vergrendelen;Onderbreken;Afsluiten;Slapen naar schijf; +Keywords[pl]=Pulpit;Przestrzeń robocza;Wygląd;Wygląd i Odczucia;Wylogowanie;Zablokowanie ;Wstrzymanie;Zamknięcie;Hibernowanie;Wrażenia; +Keywords[pt]=Ecrã;Área de Trabalho;Aparência;Aparência e Comportamento;Encerrar;Bloquear;Suspender;Desligar;Hibernar; +Keywords[pt_BR]=Área de trabalho;Espaço de trabalho;Aparência;Aparência e Comportamento;Encerrar sessão;Bloquear;Suspender;Desligar;Hibernar; +Keywords[ru]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;рабочий стол;рабочая среда;внешний вид;визуальное представление;выход;завершение сеанса;блокировка;приостановка работы;завершение работы;выключение;спящий режим;ждущий режим; +Keywords[sk]=Plocha;pracovná plocha;vzhľad;nastavenie;odhlásenie;zamknutie;uspanie;vypnutie;hibernácia; +Keywords[sl]=Namizje;delovni prostor;videz;videz in občutek;odjava;zaklep;pripravljenost;izklop;mirovanje; +Keywords[sr]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;површ;радни простор;изглед;осећај;одјављивање;закључавање;суспендовање;гашење;хибернисање; +Keywords[sr@ijekavian]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;површ;радни простор;изглед;осећај;одјављивање;закључавање;суспендовање;гашење;хибернисање; +Keywords[sr@ijekavianlatin]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;površ;radni prostor;izgled;osećaj;odjavljivanje;zaključavanje;suspendovanje;gašenje;hibernisanje; +Keywords[sr@latin]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;površ;radni prostor;izgled;osećaj;odjavljivanje;zaključavanje;suspendovanje;gašenje;hibernisanje; +Keywords[sv]=Skrivbord;Arbetsrymd;Utseende;Utseende och känsla;Utloggning;Lås;Viloläge;Avstängning;Dvala; +Keywords[tr]=Masaüstü;Çalışma Alanı;Görünüm;Görünüm ve Doku;Çık;Kilitle;Askıya Al;Kapat;Uyku; +Keywords[uk]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;стільниця;робочий простір;воркспейс;вигляд;вигляд і поведінка;вихід;вийти;заблокувати;замкнути;призупинити;вимкнути;приспати; +Keywords[x-test]=xxDesktopxx;xxWorkspacexx;xxAppearancexx;xxLook and Feelxx;xxLogoutxx;xxLockxx;xxSuspendxx;xxShutdownxx;xxHibernatexx; +Keywords[zh_CN]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;桌面;工作空间;外观;观感;注销;锁定;待机;关机;休眠; +Keywords[zh_TW]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate; +Type=Service + +X-KDE-ServiceTypes=Plasma/LookAndFeel +X-KDE-ParentApp= +X-KDE-PluginInfo-Author=Silvan Calarco +X-KDE-PluginInfo-Category= +X-KDE-PluginInfo-Email=info@openmamba.org +X-KDE-PluginInfo-License=GPLv2+ +X-KDE-PluginInfo-Name=org.openmamba.dark.desktop +X-KDE-PluginInfo-Version=1.0 +X-KDE-PluginInfo-Website=openmamba.org +X-Plasma-MainScript=defaults diff --git a/openmamba.desktop b/openmamba.desktop index 1b92727..7350447 100644 --- a/openmamba.desktop +++ b/openmamba.desktop @@ -1,6 +1,7 @@ [Desktop Entry] Name=openmamba -Comment=openmamba theme for KDE +Comment=openmamba theme for KDE Plasma +Comment[it]=Tema di openmamba per KDE Plasma Encoding=UTF-8 Keywords=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate; Keywords[ca]=Escriptori;Espai de treball;Aparença;Aparença i comportament;Sortida;Bloqueig;Suspensió;Aturada;Hibernació; diff --git a/plasma-workspace.spec b/plasma-workspace.spec index c53b1a0..92f33a6 100644 --- a/plasma-workspace.spec +++ b/plasma-workspace.spec @@ -2,7 +2,7 @@ Name: plasma-workspace Version: 5.25.1 -Release: 2mamba +Release: 5mamba Summary: KDE Frameworks 5 Workspace Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -14,6 +14,7 @@ Source1: plasma-workspace-pam Source2: plasma-workspace-pam-no-password Source3: openmamba.plasma.logo.png Source4: openmamba.desktop +Source5: openmamba-dark.desktop Patch0: plasma-workspace-5.19.4-gpsd-3.21.patch License: GPL ## AUTOBUILDREQ-BEGIN @@ -160,8 +161,10 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} This package contains libraries and header files for developing applications that use %{name}. %package -n plasma-lookandfeel-openmamba -Group: Graphical Desktop/Look 'n' Feel +Group: Graphical Desktop/Look 'n' feel Summary: openmamba theme for KDE Plasma +Requires: openmamba-color-schemes +Requires: openmamba-icons Requires: openmamba-wallpapers %description -n plasma-lookandfeel-openmamba @@ -170,12 +173,13 @@ openmamba theme for KDE Plasma. %debug_package %prep -%setup -q -#-D -T -#:<< _EOF +%setup -q -D -T +:<< _EOF #%patch0 -p1 # From Fedora + +# openmamba light theme # Populate initial lookandfeel package cp -a lookandfeel lookandfeel.openmamba # Overwrite settings to configure twilight mode @@ -185,8 +189,18 @@ cat >> CMakeLists.txt <> CMakeLists.txt < %{buildroot}%{_sysconfdir}/xdg/kdeglobals << _EOF +[KDE] +LookAndFeelPackage=org.openmamba.light.desktop +_EOF %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -400,11 +431,24 @@ sed -i "s|images/plasma.svgz|%{_datadir}/pixmaps/system-logo-white.png|" \ %files -n plasma-lookandfeel-openmamba %defattr(-,root,root) +%{_sysconfdir}/xdg/kdeglobals %{_datadir}/metainfo/org.openmamba.light.desktop.appdata.xml +%{_datadir}/metainfo/org.openmamba.dark.desktop.appdata.xml %dir %{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop %{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/* +%dir %{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop +%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/* %changelog +* Mon Jun 27 2022 Silvan Calarco 5.25.1-5mamba +- fix customizing color scheme + +* Mon Jun 27 2022 Silvan Calarco 5.25.1-4mamba +- remove metadata.json in cloned themes + +* Sun Jun 26 2022 Silvan Calarco 5.25.1-3mamba +- plasma-lookandfeel-openmamba: improve theme customizations and add dark theme + * Sat Jun 25 2022 Silvan Calarco 5.25.1-2mamba - create openmamba look-and-feel theme