Loading pkgs/desktops/gnome/extensions/extensionOverrides.nix +13 −1 Original line number Diff line number Diff line { lib , ddcutil , easyeffects , gjs , glib , gnome , gobject-introspection , gsound , hddtemp , libgda , libgtop , liquidctl , lm_sensors , netcat-gnu , nvme-cli , procps , pulseaudio , libgtop , python3 , smartmontools , substituteAll Loading Loading @@ -61,6 +63,16 @@ super: lib.trivial.pipe super [ ''; })) (patchExtension "eepresetselector@ulville.github.io" (old: { patches = [ # Needed to find the currently set preset (substituteAll { src = ./extensionOverridesPatches/eepresetselector_at_ulville.github.io.patch; easyeffects_gsettings_path = "${glib.getSchemaPath easyeffects}"; }) ]; })) (patchExtension "freon@UshakovVasilii_Github.yahoo.com" (old: { patches = [ (substituteAll { Loading pkgs/desktops/gnome/extensions/extensionOverridesPatches/eepresetselector_at_ulville.github.io.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line --- a/extension.js +++ b/extension.js @@ -339,9 +339,9 @@ const EEPSIndicator = GObject.registerClass( _lastUsedInputPreset = _idata.trim().slice(1, -1); } else if (appType === 'native') { // Get last used presets - const settings = new Gio.Settings({ - schema_id: 'com.github.wwmm.easyeffects', - }); + const _schema_source = Gio.SettingsSchemaSource.new_from_directory('@easyeffects_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true); + const _schema = _schema_source.lookup('com.github.wwmm.easyeffects', false); + const settings = new Gio.Settings({settings_schema: _schema}); _lastUsedOutputPreset = settings.get_string( 'last-used-output-preset' ); Loading
pkgs/desktops/gnome/extensions/extensionOverrides.nix +13 −1 Original line number Diff line number Diff line { lib , ddcutil , easyeffects , gjs , glib , gnome , gobject-introspection , gsound , hddtemp , libgda , libgtop , liquidctl , lm_sensors , netcat-gnu , nvme-cli , procps , pulseaudio , libgtop , python3 , smartmontools , substituteAll Loading Loading @@ -61,6 +63,16 @@ super: lib.trivial.pipe super [ ''; })) (patchExtension "eepresetselector@ulville.github.io" (old: { patches = [ # Needed to find the currently set preset (substituteAll { src = ./extensionOverridesPatches/eepresetselector_at_ulville.github.io.patch; easyeffects_gsettings_path = "${glib.getSchemaPath easyeffects}"; }) ]; })) (patchExtension "freon@UshakovVasilii_Github.yahoo.com" (old: { patches = [ (substituteAll { Loading
pkgs/desktops/gnome/extensions/extensionOverridesPatches/eepresetselector_at_ulville.github.io.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line --- a/extension.js +++ b/extension.js @@ -339,9 +339,9 @@ const EEPSIndicator = GObject.registerClass( _lastUsedInputPreset = _idata.trim().slice(1, -1); } else if (appType === 'native') { // Get last used presets - const settings = new Gio.Settings({ - schema_id: 'com.github.wwmm.easyeffects', - }); + const _schema_source = Gio.SettingsSchemaSource.new_from_directory('@easyeffects_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true); + const _schema = _schema_source.lookup('com.github.wwmm.easyeffects', false); + const settings = new Gio.Settings({settings_schema: _schema}); _lastUsedOutputPreset = settings.get_string( 'last-used-output-preset' );