-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprefs.js
More file actions
29 lines (25 loc) · 1.09 KB
/
Copy pathprefs.js
File metadata and controls
29 lines (25 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import Gtk from 'gi://Gtk';
import Adw from 'gi://Adw';
import Gio from 'gi://Gio';
import { ExtensionPreferences } from 'resource:///org/gnome/Shell/Extensions/js/extensions/prefs.js';
export default class OverlayClickPreferences extends ExtensionPreferences {
fillPreferencesWindow(window) {
const page = new Adw.PreferencesPage();
const group = new Adw.PreferencesGroup({
title: 'Gestión de Múltiples Ventanas',
description: 'Las opciones de URL, Opacidad y visibilidad de cada ventana se controlan ahora directamente desde el nuevo ícono en la barra superior (Top Bar) de GNOME.'
});
page.add(group);
const shortcutGroup = new Adw.PreferencesGroup({
title: 'Atajos',
});
// Shortcut info
const shortcutRow = new Adw.ActionRow({
title: 'Atajo Global',
subtitle: 'Super + Alt + O para alternar todas las ventanas entre modo Rojo (Fondo) y Verde (Interactivo)',
});
shortcutGroup.add(shortcutRow);
page.add(shortcutGroup);
window.add(page);
}
}