From 2e5a7d93476c0819b5a23f5740e4c843eaedc73a Mon Sep 17 00:00:00 2001 From: Nippy Date: Mon, 1 Jun 2026 18:57:29 +0200 Subject: Raveos gnome update --- .../blur-my-shell@aunetx/conveniences/dummy_pipeline.js | 9 ++++++++- .../installed/blur-my-shell@aunetx/conveniences/keys.js | 7 ++++++- .../blur-my-shell@aunetx/conveniences/settings_updater.js | 3 ++- .../installed/blur-my-shell@aunetx/conveniences/utils.js | 6 +++++- 4 files changed, 21 insertions(+), 4 deletions(-) (limited to 'raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences') diff --git a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/dummy_pipeline.js b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/dummy_pipeline.js index 544d68c..02b2d13 100644 --- a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/dummy_pipeline.js +++ b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/dummy_pipeline.js @@ -43,6 +43,7 @@ export const DummyPipeline = class DummyPipeline { this.build_effect({ unscaled_radius: 2 * this.settings.SIGMA, brightness: this.settings.BRIGHTNESS, + corner_radius: this.settings.CORNER_RADIUS, }); this.actor_destroy_id = this.actor.connect( @@ -75,6 +76,9 @@ export const DummyPipeline = class DummyPipeline { this._brightness_changed_id = this.settings.settings.connect( 'changed::brightness', () => this.effect.brightness = this.settings.BRIGHTNESS ); + this._corner_radius_changed_id = this.settings.settings.connect( + 'changed::corner-radius', () => this.effect.corner_radius = this.settings.CORNER_RADIUS + ); } repaint_effect() { @@ -92,8 +96,11 @@ export const DummyPipeline = class DummyPipeline { this.settings.settings.disconnect(this._sigma_changed_id); if (this._brightness_changed_id) this.settings.settings.disconnect(this._brightness_changed_id); + if (this._corner_radius_changed_id) + this.settings.settings.disconnect(this._corner_radius_changed_id); delete this._sigma_changed_id; delete this._brightness_changed_id; + delete this._corner_radius_changed_id; } /// Do nothing for this dummy pipeline. @@ -109,4 +116,4 @@ export const DummyPipeline = class DummyPipeline { _warn(str) { console.warn(`[Blur my Shell > dummy pip] ${str}`); } -}; \ No newline at end of file +}; diff --git a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/keys.js b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/keys.js index fcde72b..d821b88 100644 --- a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/keys.js +++ b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/keys.js @@ -6,6 +6,7 @@ export const KEYS = [ component: "general", schemas: [ { type: Type.PIPELINES, name: "pipelines" }, { type: Type.I, name: "hacks-level" }, + { type: Type.B, name: "rounded-blur-found" }, { type: Type.B, name: "debug" }, ] }, @@ -31,6 +32,7 @@ export const KEYS = [ { type: Type.S, name: "pipeline" }, { type: Type.I, name: "sigma" }, { type: Type.D, name: "brightness" }, + { type: Type.I, name: "corner-radius" }, { type: Type.B, name: "unblur-in-overview" }, { type: Type.B, name: "force-light-text" }, { type: Type.B, name: "override-background" }, @@ -45,6 +47,7 @@ export const KEYS = [ { type: Type.S, name: "pipeline" }, { type: Type.I, name: "sigma" }, { type: Type.D, name: "brightness" }, + { type: Type.I, name: "corner-radius" }, { type: Type.B, name: "unblur-in-overview" }, { type: Type.B, name: "override-background" }, { type: Type.I, name: "style-dash-to-dock" }, @@ -57,6 +60,8 @@ export const KEYS = [ { type: Type.S, name: "pipeline" }, { type: Type.I, name: "sigma" }, { type: Type.D, name: "brightness" }, + { type: Type.I, name: "corner-radius" }, + { type: Type.B, name: "corner-when-maximized" }, { type: Type.I, name: "opacity" }, { type: Type.B, name: "dynamic-opacity" }, { type: Type.B, name: "blur-on-overview" }, @@ -187,4 +192,4 @@ export const DEPRECATED_KEYS = [ { type: Type.D, name: "noise-lightness" }, ] }, -]; \ No newline at end of file +]; diff --git a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/settings_updater.js b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/settings_updater.js index 2affbc1..f81ce7d 100644 --- a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/settings_updater.js +++ b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/settings_updater.js @@ -29,6 +29,7 @@ export function update_from_old_settings(gsettings) { if (!deprecated_component.CUSTOMIZE) { new_component.SIGMA = deprecated_preferences.SIGMA; new_component.BRIGHTNESS = deprecated_preferences.BRIGHTNESS; + new_component.CORNER_RADIUS = deprecated_preferences.CORNER_RADIUS; } }); @@ -37,4 +38,4 @@ export function update_from_old_settings(gsettings) { } preferences.settings.set_int('settings-version', CURRENT_SETTINGS_VERSION); -} \ No newline at end of file +} diff --git a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/utils.js b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/utils.js index 0277e0e..20def0b 100644 --- a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/utils.js +++ b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/conveniences/utils.js @@ -9,7 +9,11 @@ export const IS_IN_PREFERENCES = typeof global === 'undefined'; export async function import_in_shell_only(module) { if (IS_IN_PREFERENCES) return null; - return (await import(module)).default; + try { + return (await import(module)).default; + } catch (e) { + return null; + } } // In use for the effects, to prevent boilerplate code -- cgit v1.3