1
0
Fork 0

Adding 45/disable-workspace-switcher version 3+20231017 [e4b8d3e].

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-24 19:42:08 +01:00
parent 318b07f9ce
commit 65d924be2c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
5 changed files with 750 additions and 0 deletions

View file

@ -0,0 +1,14 @@
import { Extension } from 'resource:///org/gnome/shell/extensions/extension.js';
import { WorkspaceSwitcherPopup } from 'resource:///org/gnome/shell/ui/workspaceSwitcherPopup.js';
export default class extends Extension {
enable() {
this._originalWorkspaceSwitcherPopup_display = WorkspaceSwitcherPopup.prototype.display;
WorkspaceSwitcherPopup.prototype.display = () => {};
}
disable() {
WorkspaceSwitcherPopup.prototype.display = this._originalWorkspaceSwitcherPopup_display;
this._originalWorkspaceSwitcherPopup_display = null;
}
}

View file

@ -0,0 +1,10 @@
{
"name": "Disable Workspace Switcher",
"description": "Disable the workspace switcher popup.",
"version": 1,
"uuid": "disable-workspace-switcher@jbradaric.me",
"url": "https://github.com/jbradaric/disable-workspace-switcher",
"shell-version": [
"45"
]
}