Commit 71257737 authored by Mark Wagie's avatar Mark Wagie
Browse files

[pkg-upd] 0.1.0.r114.5c8a2f7-1

parent a27af993
# Maintainer: Mark Wagie <mark@manjaro.org>
pkgname=pop-cosmic
pkgver=0.1.0.r79.f2d477d
pkgver=0.1.0.r114.5c8a2f7
pkgrel=1
pkgdesc="Computer Operating System Main Interface Components"
arch=('any')
......@@ -12,13 +12,11 @@ depends=('adwaita-maia' 'gnome-shell' 'gnome-shell-extension-cosmic-dock'
'gnome-shell-extension-cosmic-workspaces' 'gnome-shell-extension-pop-shell')
makedepends=('dpkg' 'git')
optdepends=('pop-gtk-theme: Pop!_OS theme')
_commit=f2d477d6759eb3a2f1e212a721bf43994000277a
_commit=5c8a2f7b4e8000d1c1dec39f9a1024227e76b7a3
source=("git+https://github.com/pop-os/cosmic.git#commit=$_commit"
'0001-Remove-schema-handling-from-Makefile.patch'
'theme.patch')
'0001-Remove-schema-handling-from-Makefile.patch')
sha256sums=('SKIP'
'3af468faaa7b744b772b111fbb8f04ee8324713354a204e4862b21fea84989f5'
'72aac6229812ca9abca187c156798774a07d178e590dde2f89a02faa97cbf05a')
'3af468faaa7b744b772b111fbb8f04ee8324713354a204e4862b21fea84989f5')
#validpgpkeys=('DA0878FCF806089ED4FDDF58E988B49EE78A7FB1') # Jeremy Soller <jeremy@system76.com>
pkgver() {
......@@ -30,9 +28,6 @@ pkgver() {
prepare() {
cd "$srcdir/cosmic"
patch -Np1 -i ../0001-Remove-schema-handling-from-Makefile.patch
patch --strip=1 extension.js < ../theme.patch
sed -i 's/AppIconMenu/AppMenu/g' extension.js
}
build() {
......
--- extension-a.js 2021-11-04 11:19:13.524413000 -0600
+++ extension-b.js 2021-11-04 11:25:34.256116432 -0600
@@ -205,10 +205,10 @@
}
}
-function shell_theme_is_pop() {
+function shell_theme_is_adwaita_maia() {
const stylesheet = Main.getThemeStylesheet();
if (stylesheet)
- return stylesheet.get_path().startsWith("/usr/share/themes/Pop");
+ return stylesheet.get_path().startsWith("/usr/share/themes/Adwaita-maia");
else
return true;
}
@@ -226,9 +226,9 @@
function hide_overview_backgrounds() {
if (GNOME_VERSION.startsWith("3.38")) {
- const is_pop = shell_theme_is_pop();
+ const is_adwaita_maia = shell_theme_is_adwaita_maia();
Main.overview._backgroundGroup.get_children().forEach(background => {
- background.visible = !is_pop && (background.monitor == Main.layoutManager.primaryIndex);
+ background.visible = !is_adwaita_maia && (background.monitor == Main.layoutManager.primaryIndex);
});
} else {
Main.layoutManager.overviewGroup.style = null;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment