-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindicators.js
30 lines (25 loc) · 1 KB
/
indicators.js
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
30
import GObject from 'gi://GObject';
import Gio from 'gi://Gio';
import * as QuickSettings from 'resource:///org/gnome/shell/ui/quickSettings.js';
export const ResolutionIndicator = GObject.registerClass(
class ResolutionIndicator extends QuickSettings.SystemIndicator {
_init(extensionObject) {
super._init();
// Create an icon for the indicator
// this._indicator = this._addIndicator();
// this._indicator.icon_name = 'selection-mode-symbolic';
// Showing an indicator when the feature is enabled
// this._settings = extensionObject.getSettings();
// this._settings.bind('feature-enabled',
// this._indicator, 'visible',
// Gio.SettingsBindFlags.DEFAULT);
}
}
);
export const RefreshRateIndicator = GObject.registerClass(
class RefreshRateIndicator extends QuickSettings.SystemIndicator {
_init(extensionObject) {
super._init();
}
}
);