generated from general-packages/pika-pkg-template
update for 47
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 28s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 28s
This commit is contained in:
parent
a0d132ce9c
commit
5513329d37
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
3
|
4
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
gnome-shell-extension-supergfxctl-gex (46.0-101pika2) pika; urgency=medium
|
gnome-shell-extension-supergfxctl-gex (47.0-101pika2) pika; urgency=medium
|
||||||
|
|
||||||
* Initial Creation
|
* Initial Creation
|
||||||
|
|
||||||
|
@ -15,7 +15,9 @@ Standards-Version: 4.1.1
|
|||||||
|
|
||||||
Package: gnome-shell-extension-supergfxctl-gex
|
Package: gnome-shell-extension-supergfxctl-gex
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: gnome-shell,
|
Depends:
|
||||||
${misc:Depends},
|
gnome-shell (<< 48~),
|
||||||
${shlibs:Depends},
|
gnome-shell (>= 46~),
|
||||||
Description: Change the GTK3 theme to light/dark variant based on the system color scheme
|
${misc:Depends},
|
||||||
|
${shlibs:Depends},
|
||||||
|
Description: Simple GPU Profile switcher Gnome-Shell-Extension for ASUS laptops using Supergfxctl
|
||||||
|
@ -281,6 +281,11 @@ const GpuProfilesToggle = GObject.registerClass(
|
|||||||
|
|
||||||
this.checked = this._activeProfile !== "Hybrid";
|
this.checked = this._activeProfile !== "Hybrid";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
destroy() {
|
||||||
|
this._clearRetryTimeout();
|
||||||
|
super.destroy();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -346,11 +351,7 @@ export default class GpuSwitcherExtension extends Extension {
|
|||||||
disable() {
|
disable() {
|
||||||
if (this._indicator) {
|
if (this._indicator) {
|
||||||
this._indicator.quickSettingsItems.forEach((item) => {
|
this._indicator.quickSettingsItems.forEach((item) => {
|
||||||
if (item instanceof GpuProfilesToggle) {
|
|
||||||
item._clearRetryTimeout();
|
|
||||||
}
|
|
||||||
item.destroy();
|
item.destroy();
|
||||||
console.log("disabled");
|
|
||||||
});
|
});
|
||||||
// Remove the indicator from its parent
|
// Remove the indicator from its parent
|
||||||
const parent = this._indicator.get_parent();
|
const parent = this._indicator.get_parent();
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
"name": "supergfxctl-gex",
|
"name": "supergfxctl-gex",
|
||||||
"settings-schema": "org.gnome.shell.extensions.supergfxctl-gex",
|
"settings-schema": "org.gnome.shell.extensions.supergfxctl-gex",
|
||||||
"shell-version": [
|
"shell-version": [
|
||||||
"46"
|
"46",
|
||||||
|
"47"
|
||||||
],
|
],
|
||||||
"url": "https://gitlab.com/asus-linux/supergfxctl-gex",
|
"url": "https://gitlab.com/asus-linux/supergfxctl-gex",
|
||||||
"uuid": "supergfxctl-gex@asus-linux.org",
|
"uuid": "supergfxctl-gex@asus-linux.org",
|
||||||
|
Loading…
Reference in New Issue
Block a user