fix customizing color scheme [release 5.25.1-5mamba;Mon Jun 27 2022]
This commit is contained in:
parent
712a0f2536
commit
855b47fe5c
47
openmamba-dark.desktop
Normal file
47
openmamba-dark.desktop
Normal file
@ -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
|
@ -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ó;
|
||||
|
@ -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 <<EOL
|
||||
plasma_install_package(lookandfeel.openmamba org.openmamba.light.desktop look-and-feel lookandfeel)
|
||||
EOL
|
||||
|
||||
# openmamba dark theme
|
||||
# Populate initial lookandfeel package
|
||||
cp -a lookandfeel lookandfeel.openmamba.dark
|
||||
# Overwrite settings to configure twilight mode
|
||||
cp -a lookandfeel.dark/* lookandfeel.openmamba.dark
|
||||
install -m 0644 %{SOURCE5} lookandfeel.openmamba.dark/metadata.desktop
|
||||
cat >> CMakeLists.txt <<EOL
|
||||
plasma_install_package(lookandfeel.openmamba.dark org.openmamba.dark.desktop look-and-feel lookandfeel)
|
||||
EOL
|
||||
|
||||
%build
|
||||
#:<< _EOF
|
||||
:<< _EOF
|
||||
%cmake_kde5 -d build
|
||||
|
||||
%make
|
||||
@ -212,8 +226,25 @@ _EOF
|
||||
# from [Wallpaper] Image=Next to Image=openmambaRandom
|
||||
sed -i -e 's|^Image=.*$|Image=openmambaRandom|g' \
|
||||
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/defaults
|
||||
sed -i -e 's|^ColorScheme=.*$|ColorScheme=OpenmambaGreen|g' \
|
||||
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/defaults
|
||||
sed -i "s|images/plasma.svgz|%{_datadir}/pixmaps/system-logo-white.png|" \
|
||||
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/splash/Splash.qml
|
||||
rm -f %{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/metadata.json
|
||||
|
||||
sed -i -e 's|^Image=.*$|Image=openmambaRandom|g' \
|
||||
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/contents/defaults
|
||||
sed -i -e 's|^ColorScheme=.*$|ColorScheme=OpenmambaGreen|g' \
|
||||
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/contents/defaults
|
||||
sed -i "s|images/plasma.svgz|%{_datadir}/pixmaps/system-logo-white.png|" \
|
||||
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/contents/splash/Splash.qml
|
||||
rm -f %{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/metadata.json
|
||||
|
||||
install -d -m0755 %{buildroot}%{_sysconfdir}/xdg
|
||||
cat > %{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 <silvan.calarco@mambasoft.it> 5.25.1-5mamba
|
||||
- fix customizing color scheme
|
||||
|
||||
* Mon Jun 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.1-4mamba
|
||||
- remove metadata.json in cloned themes
|
||||
|
||||
* Sun Jun 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.1-3mamba
|
||||
- plasma-lookandfeel-openmamba: improve theme customizations and add dark theme
|
||||
|
||||
* Sat Jun 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.1-2mamba
|
||||
- create openmamba look-and-feel theme
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user