diff --git a/src/modules/CursorThemer.js b/src/modules/CursorThemer.js index 1e78ab8..7b3db0a 100644 --- a/src/modules/CursorThemer.js +++ b/src/modules/CursorThemer.js @@ -128,7 +128,7 @@ var CursorThemer = class { } _updateSystemCursorTheme() { - if (e.timer.time === Time.UNKNOWN || !this._cursorVariantsSettings.get_string(e.timer.time)) + if (e.timer.time === Time.UNKNOWN) return; this._interfaceSettings.set_string('cursor-theme', this._cursorVariantsSettings.get_string(e.timer.time)); } diff --git a/src/modules/IconThemer.js b/src/modules/IconThemer.js index cad183d..14bcc06 100644 --- a/src/modules/IconThemer.js +++ b/src/modules/IconThemer.js @@ -128,7 +128,7 @@ var IconThemer = class { } _updateSystemIconTheme() { - if (e.timer.time === Time.UNKNOWN || !this._iconVariantsSettings.get_string(e.timer.time)) + if (e.timer.time === Time.UNKNOWN) return; this._interfaceSettings.set_string('icon-theme', this._iconVariantsSettings.get_string(e.timer.time)); } diff --git a/src/schemas/org.gnome.shell.extensions.nightthemeswitcher.gschema.xml b/src/schemas/org.gnome.shell.extensions.nightthemeswitcher.gschema.xml index 26021ab..4eb1118 100644 --- a/src/schemas/org.gnome.shell.extensions.nightthemeswitcher.gschema.xml +++ b/src/schemas/org.gnome.shell.extensions.nightthemeswitcher.gschema.xml @@ -27,11 +27,6 @@ SPDX-License-Identifier: GPL-3.0-or-later Night GTK theme The GTK theme to use during nighttime - - false - Use manual GTK variants - Disable automatic GTK theme variants detection - @@ -49,11 +44,6 @@ SPDX-License-Identifier: GPL-3.0-or-later Night shell theme The shell theme to use during nighttime - - false - Use manual shell variants - Disable automatic shell theme variants detection - @@ -62,12 +52,12 @@ SPDX-License-Identifier: GPL-3.0-or-later Enable icon variants switching - "" + "Adwaita" Day icon theme The icon theme to use during daytime - "" + "Adwaita" Night icon theme The icon theme to use during nighttime @@ -79,12 +69,12 @@ SPDX-License-Identifier: GPL-3.0-or-later Enable cursor variants switching - "" + "Adwaita" Day cursor theme The cursor theme to use during daytime - "" + "Adwaita" Night cursor theme The cursor theme to use during nighttime