Commands Switcher: Rename

This commit is contained in:
Romain Vigier
2024-03-04 15:17:43 +00:00
parent 0c0f03a9f1
commit e3c6d67fe9
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import { Extension } from 'resource:///org/gnome/shell/extensions/extension.js';
import * as debug from './debug.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';
@@ -29,7 +29,7 @@ export default class NightThemeSwitcher extends Extension {
[
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));
this.#modules.forEach(module => module.enable());
+1 -1
View File
@@ -27,8 +27,8 @@ icons = [
]
modules = [
'modules/ColorSchemeSwitcher.js',
'modules/CommandsSwitcher.js',
'modules/Switcher.js',
'modules/SwitcherCommands.js',
'modules/Timer.js',
]
preferences = [
@@ -13,7 +13,7 @@ import { Switcher } from './Switcher.js';
/**
* The Commands Switcher spawns commands according to the time.
*/
export class SwitcherCommands extends Switcher {
export class CommandsSwitcher extends Switcher {
#settings;
/**
+1 -1
View File
@@ -19,8 +19,8 @@ src/enums/ColorScheme.js
src/enums/Time.js
src/modules/ColorSchemeSwitcher.js
src/modules/CommandsSwitcher.js
src/modules/Switcher.js
src/modules/SwitcherCommands.js
src/modules/Timer.js
src/preferences/BackgroundButton.js