Commands Switcher: Rename
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ import { Extension } from 'resource:///org/gnome/shell/extensions/extension.js';
|
|||||||
import * as debug from './debug.js';
|
import * as debug from './debug.js';
|
||||||
|
|
||||||
import { ColorSchemeSwitcher } from './modules/ColorSchemeSwitcher.js';
|
import { ColorSchemeSwitcher } from './modules/ColorSchemeSwitcher.js';
|
||||||
import { SwitcherCommands } from './modules/SwitcherCommands.js';
|
import { CommandsSwitcher } from './modules/CommandsSwitcher.js';
|
||||||
import { Timer } from './modules/Timer.js';
|
import { Timer } from './modules/Timer.js';
|
||||||
|
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ export default class NightThemeSwitcher extends Extension {
|
|||||||
|
|
||||||
[
|
[
|
||||||
new ColorSchemeSwitcher({ timer, settings: this.getSettings(`${this.metadata['settings-schema']}.color-scheme`) }),
|
new ColorSchemeSwitcher({ timer, settings: this.getSettings(`${this.metadata['settings-schema']}.color-scheme`) }),
|
||||||
new SwitcherCommands({ timer, settings: this.getSettings(`${this.metadata['settings-schema']}.commands`) }),
|
new CommandsSwitcher({ timer, settings: this.getSettings(`${this.metadata['settings-schema']}.commands`) }),
|
||||||
].forEach(module => this.#modules.push(module));
|
].forEach(module => this.#modules.push(module));
|
||||||
|
|
||||||
this.#modules.forEach(module => module.enable());
|
this.#modules.forEach(module => module.enable());
|
||||||
|
|||||||
+1
-1
@@ -27,8 +27,8 @@ icons = [
|
|||||||
]
|
]
|
||||||
modules = [
|
modules = [
|
||||||
'modules/ColorSchemeSwitcher.js',
|
'modules/ColorSchemeSwitcher.js',
|
||||||
|
'modules/CommandsSwitcher.js',
|
||||||
'modules/Switcher.js',
|
'modules/Switcher.js',
|
||||||
'modules/SwitcherCommands.js',
|
|
||||||
'modules/Timer.js',
|
'modules/Timer.js',
|
||||||
]
|
]
|
||||||
preferences = [
|
preferences = [
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import { Switcher } from './Switcher.js';
|
|||||||
/**
|
/**
|
||||||
* The Commands Switcher spawns commands according to the time.
|
* The Commands Switcher spawns commands according to the time.
|
||||||
*/
|
*/
|
||||||
export class SwitcherCommands extends Switcher {
|
export class CommandsSwitcher extends Switcher {
|
||||||
#settings;
|
#settings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
+1
-1
@@ -19,8 +19,8 @@ src/enums/ColorScheme.js
|
|||||||
src/enums/Time.js
|
src/enums/Time.js
|
||||||
|
|
||||||
src/modules/ColorSchemeSwitcher.js
|
src/modules/ColorSchemeSwitcher.js
|
||||||
|
src/modules/CommandsSwitcher.js
|
||||||
src/modules/Switcher.js
|
src/modules/Switcher.js
|
||||||
src/modules/SwitcherCommands.js
|
|
||||||
src/modules/Timer.js
|
src/modules/Timer.js
|
||||||
|
|
||||||
src/preferences/BackgroundButton.js
|
src/preferences/BackgroundButton.js
|
||||||
|
|||||||
Reference in New Issue
Block a user