mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
gnomeExtensions: auto-update (#493095)
This commit is contained in:
commit
0fd2db475a
5 changed files with 1728 additions and 793 deletions
|
|
@ -7,6 +7,10 @@
|
|||
"Applications_Menu@rmy.pobox.com",
|
||||
"apps-menu@gnome-shell-extensions.gcampax.github.com"
|
||||
],
|
||||
"auto-select-headset": [
|
||||
"autoselectheadset@Anduril97.github.com",
|
||||
"autoselectheadset@josephlbarnett.github.com"
|
||||
],
|
||||
"battery-time": [
|
||||
"batime@martin.zurowietz.de",
|
||||
"battery-time@eetumos.github.com",
|
||||
|
|
@ -24,6 +28,10 @@
|
|||
"lockkeys@febueldo.test",
|
||||
"lockkeys@vaina.lt"
|
||||
],
|
||||
"memento-mori": [
|
||||
"memento-mori@paveloom",
|
||||
"memento-mori@vedeshpadal"
|
||||
],
|
||||
"mouse-follows-focus": [
|
||||
"mouse-follows-focus@crisidev.org",
|
||||
"mousefollowsfocus@matthes.biz"
|
||||
|
|
@ -32,6 +40,14 @@
|
|||
"nepali-calendar-gs-extension@subashghimire.info.np",
|
||||
"nepali-date@biplab"
|
||||
],
|
||||
"net-speed": [
|
||||
"netspeed@alynx.one",
|
||||
"netspeed@shivamksharma.github.io"
|
||||
],
|
||||
"night-light-toggle": [
|
||||
"night-light-toggle@egoistpizza.github.com",
|
||||
"nightlighttoggle@sam"
|
||||
],
|
||||
"persian-calendar": [
|
||||
"PersianCalendar@oxygenws.com",
|
||||
"persian-calendar@iamrezamousavi.gmail.com"
|
||||
|
|
|
|||
|
|
@ -258,4 +258,11 @@ lib.trivial.pipe super [
|
|||
rm utilities-teatime.svg
|
||||
'';
|
||||
})
|
||||
|
||||
(patchExtension "named-workspaces@a31.at" {
|
||||
postPatch = ''
|
||||
# remove duplicate schema file
|
||||
rm schemas/org.gnome.shell.extensions.workspace-name.gschema.xml
|
||||
'';
|
||||
})
|
||||
]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ index 56875b5..3216e79 100755
|
|||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/gjs
|
||||
+#!@gjs@/bin/gjs
|
||||
|
||||
|
||||
/* DING: Desktop Icons New Generation for GNOME Shell
|
||||
*
|
||||
diff --git a/app/ding.js b/app/ding.js
|
||||
|
|
@ -15,7 +15,7 @@ index 9a1550a..7bd25fc 100755
|
|||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env gjs
|
||||
+#!@gjs@/bin/gjs
|
||||
|
||||
|
||||
/* DING: Desktop Icons New Generation for GNOME Shell
|
||||
*
|
||||
@@ -18,6 +18,7 @@
|
||||
|
|
@ -40,21 +40,20 @@ index 4fae9ef..5127eff 100644
|
|||
fileItem.unsetSelected();
|
||||
xdgEmailCommand.push('--attach');
|
||||
diff --git a/app/preferences.js b/app/preferences.js
|
||||
index c6517a3..1379a0e 100644
|
||||
index 94ec3c7..823dd5c 100644
|
||||
--- a/app/preferences.js
|
||||
+++ b/app/preferences.js
|
||||
@@ -46,9 +46,12 @@ var prefsWindow;
|
||||
@@ -46,9 +46,11 @@ var prefsWindow;
|
||||
*/
|
||||
function init(path) {
|
||||
let schemaSource = GioSSS.get_default();
|
||||
- let schemaGtk = schemaSource.lookup(Enums.SCHEMA_GTK, true);
|
||||
const schemaSource = GioSSS.get_default();
|
||||
- const schemaGtk = schemaSource.lookup(Enums.SCHEMA_GTK, true);
|
||||
+ const schemaSourceGtk = Gio.SettingsSchemaSource.new_from_directory('@gtk3_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
|
||||
+ let schemaGtk = schemaSourceGtk.lookup(Enums.SCHEMA_GTK, true);
|
||||
+ console.log('schemaGtk: ' + schemaGtk);
|
||||
gtkSettings = new Gio.Settings({settings_schema: schemaGtk});
|
||||
- let schemaObj = schemaSource.lookup(Enums.SCHEMA_NAUTILUS, true);
|
||||
- const schemaObj = schemaSource.lookup(Enums.SCHEMA_NAUTILUS, true);
|
||||
+ const schemaSourceNautilus = Gio.SettingsSchemaSource.new_from_directory('@nautilus_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
|
||||
+ let schemaObj = schemaSourceNautilus.lookup(Enums.SCHEMA_NAUTILUS, true);
|
||||
+ const schemaObj = schemaSourceNautilus.lookup(Enums.SCHEMA_NAUTILUS, true);
|
||||
if (!schemaObj) {
|
||||
nautilusSettings = null;
|
||||
} else {
|
||||
|
|
@ -68,7 +67,7 @@ index c6517a3..1379a0e 100644
|
|||
nautilusCompression = null;
|
||||
} else {
|
||||
diff --git a/extension.js b/extension.js
|
||||
index 774fbef..3f2023b 100644
|
||||
index 0f8a317..c768649 100644
|
||||
--- a/extension.js
|
||||
+++ b/extension.js
|
||||
@@ -17,6 +17,7 @@
|
||||
|
|
@ -79,7 +78,7 @@ index 774fbef..3f2023b 100644
|
|||
import GLib from 'gi://GLib'
|
||||
import Gio from 'gi://Gio'
|
||||
import Meta from 'gi://Meta'
|
||||
@@ -391,9 +392,9 @@ export default class DING extends Extension {
|
||||
@@ -396,9 +397,9 @@ export default class DING extends Extension {
|
||||
contents += String.fromCharCode(readData[i]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,21 +27,35 @@
|
|||
"mousefollowsfocus@matthes.biz" = "mouse-follows-focus";
|
||||
"mouse-follows-focus@crisidev.org" = "mouse-follows-focus-2";
|
||||
|
||||
"power-profile-indicator@laux.wtf" = "power-profile-indicator";
|
||||
"power-profile@fthx" = "power-profile-indicator-2";
|
||||
|
||||
"fullscreen-to-empty-workspace@aiono.dev" = "fullscreen-to-empty-workspace";
|
||||
"fullscreen-to-empty-workspace2@corgijan.dev" = "fullscreen-to-empty-workspace-2";
|
||||
|
||||
"eur-usd-gshell@vezza.github.com" = "eur-usd";
|
||||
"usd-mxn-gshell@kinduff.github.com" = "usd-mxn";
|
||||
|
||||
"lockkeys@febueldo.test" = "lock-keys";
|
||||
"lockkeys@vaina.lt" = "lock-keys-2";
|
||||
|
||||
"memento-mori@paveloom" = "memento-mori";
|
||||
"memento-mori@vedeshpadal" = "memento-mori-2";
|
||||
|
||||
"netspeed@alynx.one" = "net-speed";
|
||||
"netspeed@shivamksharma.github.io" = "net-speed-2";
|
||||
|
||||
"night-light-toggle@egoistpizza.github.com" = "night-light-toggle";
|
||||
"nightlighttoggle@sam" = "night-light-toggle-2";
|
||||
|
||||
"activitywatch-status@cweiske.de" = "activitywatch-status";
|
||||
"aw-status@brayo.dev" = "aw-status";
|
||||
|
||||
"autoselectheadset@josephlbarnett.github.com" = "auto-select-headset";
|
||||
"autoselectheadset@Anduril97.github.com" = "auto-select-headset-2";
|
||||
|
||||
# ############################################################################
|
||||
# These extensions no longer collide. We preserve the old attribute name for backwards compatibility.
|
||||
"floatingDock@sun.wxg@gmail.com" = "floating-dock-2";
|
||||
"true-color-window-invert@lynet101" = "true-color-window-invert";
|
||||
"volume_scroller@francislavoie.github.io" = "volume-scroller-2";
|
||||
"openweather-extension@penguin-teal.github.io" = "openweather-refined";
|
||||
"fullscreen-to-empty-workspace2@corgijan.dev" = "fullscreen-to-empty-workspace-2";
|
||||
"power-profile@fthx" = "power-profile-indicator-2";
|
||||
|
||||
# ############################################################################
|
||||
# Overrides for extensions that were manually packaged in the past but are gradually
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue