Project: Reformat

This commit is contained in:
Romain Vigier
2026-07-20 13:23:23 +02:00
parent 8d3817c912
commit 2851bb9b32
5 changed files with 91 additions and 94 deletions
+8 -8
View File
@@ -4,12 +4,12 @@ SPDX-FileCopyrightText: Night Theme Switcher Contributors
SPDX-License-Identifier: CC-BY-SA-4.0
-->
<svg viewBox="0 0 1920 1080" width="1920" height="1080" xmlns="http://www.w3.org/2000/svg" version="1.1">
<path d="M0 66L175 55L349 66L524 66L698 55L873 66L1047 66L1222 77L1396 87L1571 66L1745 55L1920 66L1920 0L1745 0L1571 0L1396 0L1222 0L1047 0L873 0L698 0L524 0L349 0L175 0L0 0Z" fill="#e3eff4"></path>
<path d="M0 411L175 325L349 390L524 303L698 260L873 314L1047 293L1222 325L1396 368L1571 293L1745 260L1920 271L1920 64L1745 53L1571 64L1396 85L1222 75L1047 64L873 64L698 53L524 64L349 64L175 53L0 64Z" fill="#cae5f7"/>
<path d="M0 584L175 498L349 563L524 584L698 498L873 541L1047 487L1222 595L1396 563L1571 617L1745 509L1920 617L1920 269L1745 258L1571 291L1396 366L1222 323L1047 291L873 312L698 258L524 301L349 388L175 323L0 409Z" fill="#b7d9fb"/>
<path d="M0 660L175 606L349 649L524 681L698 606L873 638L1047 584L1222 660L1396 627L1571 681L1745 606L1920 681L1920 615L1745 507L1571 615L1396 561L1222 593L1047 485L873 539L698 496L524 582L349 561L175 496L0 582Z" fill="#aecbff"/>
<path d="M0 768L175 703L349 779L524 757L698 671L873 746L1047 703L1222 746L1396 714L1571 800L1745 735L1920 779L1920 679L1745 604L1571 679L1396 625L1222 658L1047 582L873 636L698 604L524 679L349 647L175 604L0 658Z" fill="#b0baff"/>
<path d="M0 843L175 779L349 833L524 854L698 768L873 800L1047 789L1222 811L1396 779L1571 865L1745 800L1920 876L1920 777L1745 733L1571 798L1396 712L1222 744L1047 701L873 744L698 669L524 755L349 777L175 701L0 766Z" fill="#c3a5ff"/>
<path d="M0 984L175 941L349 973L524 951L698 941L873 941L1047 941L1222 973L1396 962L1571 984L1745 941L1920 995L1920 874L1745 798L1571 863L1396 777L1222 809L1047 787L873 798L698 766L524 852L349 831L175 777L0 841Z" fill="#e188f3"/>
<path d="M0 1081L175 1081L349 1081L524 1081L698 1081L873 1081L1047 1081L1222 1081L1396 1081L1571 1081L1745 1081L1920 1081L1920 993L1745 939L1571 982L1396 960L1222 971L1047 939L873 939L698 939L524 949L349 971L175 939L0 982Z" fill="#ff63d5"/>
<path d="M0 66L175 55L349 66L524 66L698 55L873 66L1047 66L1222 77L1396 87L1571 66L1745 55L1920 66L1920 0L1745 0L1571 0L1396 0L1222 0L1047 0L873 0L698 0L524 0L349 0L175 0L0 0Z" fill="#e3eff4"></path>
<path d="M0 411L175 325L349 390L524 303L698 260L873 314L1047 293L1222 325L1396 368L1571 293L1745 260L1920 271L1920 64L1745 53L1571 64L1396 85L1222 75L1047 64L873 64L698 53L524 64L349 64L175 53L0 64Z" fill="#cae5f7"/>
<path d="M0 584L175 498L349 563L524 584L698 498L873 541L1047 487L1222 595L1396 563L1571 617L1745 509L1920 617L1920 269L1745 258L1571 291L1396 366L1222 323L1047 291L873 312L698 258L524 301L349 388L175 323L0 409Z" fill="#b7d9fb"/>
<path d="M0 660L175 606L349 649L524 681L698 606L873 638L1047 584L1222 660L1396 627L1571 681L1745 606L1920 681L1920 615L1745 507L1571 615L1396 561L1222 593L1047 485L873 539L698 496L524 582L349 561L175 496L0 582Z" fill="#aecbff"/>
<path d="M0 768L175 703L349 779L524 757L698 671L873 746L1047 703L1222 746L1396 714L1571 800L1745 735L1920 779L1920 679L1745 604L1571 679L1396 625L1222 658L1047 582L873 636L698 604L524 679L349 647L175 604L0 658Z" fill="#b0baff"/>
<path d="M0 843L175 779L349 833L524 854L698 768L873 800L1047 789L1222 811L1396 779L1571 865L1745 800L1920 876L1920 777L1745 733L1571 798L1396 712L1222 744L1047 701L873 744L698 669L524 755L349 777L175 701L0 766Z" fill="#c3a5ff"/>
<path d="M0 984L175 941L349 973L524 951L698 941L873 941L1047 941L1222 973L1396 962L1571 984L1745 941L1920 995L1920 874L1745 798L1571 863L1396 777L1222 809L1047 787L873 798L698 766L524 852L349 831L175 777L0 841Z" fill="#e188f3"/>
<path d="M0 1081L175 1081L349 1081L524 1081L698 1081L873 1081L1047 1081L1222 1081L1396 1081L1571 1081L1745 1081L1920 1081L1920 993L1745 939L1571 982L1396 960L1222 971L1047 939L873 939L698 939L524 949L349 971L175 939L0 982Z" fill="#ff63d5"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

+8 -8
View File
@@ -4,12 +4,12 @@ SPDX-FileCopyrightText: Night Theme Switcher Contributors
SPDX-License-Identifier: CC-BY-SA-4.0
-->
<svg viewBox="0 0 1920 1080" width="1920" height="1080" xmlns="http://www.w3.org/2000/svg" version="1.1">
<path d="M0 66L175 55L349 66L524 66L698 55L873 66L1047 66L1222 77L1396 87L1571 66L1745 55L1920 66L1920 0L1745 0L1571 0L1396 0L1222 0L1047 0L873 0L698 0L524 0L349 0L175 0L0 0Z" fill="#0d0022"/>
<path d="M0 411L175 325L349 390L524 303L698 260L873 314L1047 293L1222 325L1396 368L1571 293L1745 260L1920 271L1920 64L1745 53L1571 64L1396 85L1222 75L1047 64L873 64L698 53L524 64L349 64L175 53L0 64Z" fill="#17082b"/>
<path d="M0 584L175 498L349 563L524 584L698 498L873 541L1047 487L1222 595L1396 563L1571 617L1745 509L1920 617L1920 269L1745 258L1571 291L1396 366L1222 323L1047 291L873 312L698 258L524 301L349 388L175 323L0 409Z" fill="#220d34"/>
<path d="M0 660L175 606L349 649L524 681L698 606L873 638L1047 584L1222 660L1396 627L1571 681L1745 606L1920 681L1920 615L1745 507L1571 615L1396 561L1222 593L1047 485L873 539L698 496L524 582L349 561L175 496L0 582Z" fill="#300e3c"/>
<path d="M0 768L175 703L349 779L524 757L698 671L873 746L1047 703L1222 746L1396 714L1571 800L1745 735L1920 779L1920 679L1745 604L1571 679L1396 625L1222 658L1047 582L873 636L698 604L524 679L349 647L175 604L0 658Z" fill="#3e0e43"/>
<path d="M0 843L175 779L349 833L524 854L698 768L873 800L1047 789L1222 811L1396 779L1571 865L1745 800L1920 876L1920 777L1745 733L1571 798L1396 712L1222 744L1047 701L873 744L698 669L524 755L349 777L175 701L0 766Z" fill="#4e0c49"/>
<path d="M0 984L175 941L349 973L524 951L698 941L873 941L1047 941L1222 973L1396 962L1571 984L1745 941L1920 995L1920 874L1745 798L1571 863L1396 777L1222 809L1047 787L873 798L698 766L524 852L349 831L175 777L0 841Z" fill="#5e074d"/>
<path d="M0 1081L175 1081L349 1081L524 1081L698 1081L873 1081L1047 1081L1222 1081L1396 1081L1571 1081L1745 1081L1920 1081L1920 993L1745 939L1571 982L1396 960L1222 971L1047 939L873 939L698 939L524 949L349 971L175 939L0 982Z" fill="#6e0050"/>
<path d="M0 66L175 55L349 66L524 66L698 55L873 66L1047 66L1222 77L1396 87L1571 66L1745 55L1920 66L1920 0L1745 0L1571 0L1396 0L1222 0L1047 0L873 0L698 0L524 0L349 0L175 0L0 0Z" fill="#0d0022"/>
<path d="M0 411L175 325L349 390L524 303L698 260L873 314L1047 293L1222 325L1396 368L1571 293L1745 260L1920 271L1920 64L1745 53L1571 64L1396 85L1222 75L1047 64L873 64L698 53L524 64L349 64L175 53L0 64Z" fill="#17082b"/>
<path d="M0 584L175 498L349 563L524 584L698 498L873 541L1047 487L1222 595L1396 563L1571 617L1745 509L1920 617L1920 269L1745 258L1571 291L1396 366L1222 323L1047 291L873 312L698 258L524 301L349 388L175 323L0 409Z" fill="#220d34"/>
<path d="M0 660L175 606L349 649L524 681L698 606L873 638L1047 584L1222 660L1396 627L1571 681L1745 606L1920 681L1920 615L1745 507L1571 615L1396 561L1222 593L1047 485L873 539L698 496L524 582L349 561L175 496L0 582Z" fill="#300e3c"/>
<path d="M0 768L175 703L349 779L524 757L698 671L873 746L1047 703L1222 746L1396 714L1571 800L1745 735L1920 779L1920 679L1745 604L1571 679L1396 625L1222 658L1047 582L873 636L698 604L524 679L349 647L175 604L0 658Z" fill="#3e0e43"/>
<path d="M0 843L175 779L349 833L524 854L698 768L873 800L1047 789L1222 811L1396 779L1571 865L1745 800L1920 876L1920 777L1745 733L1571 798L1396 712L1222 744L1047 701L873 744L698 669L524 755L349 777L175 701L0 766Z" fill="#4e0c49"/>
<path d="M0 984L175 941L349 973L524 951L698 941L873 941L1047 941L1222 973L1396 962L1571 984L1745 941L1920 995L1920 874L1745 798L1571 863L1396 777L1222 809L1047 787L873 798L698 766L524 852L349 831L175 777L0 841Z" fill="#5e074d"/>
<path d="M0 1081L175 1081L349 1081L524 1081L698 1081L873 1081L1047 1081L1222 1081L1396 1081L1571 1081L1745 1081L1920 1081L1920 993L1745 939L1571 982L1396 960L1222 971L1047 939L873 939L698 939L524 949L349 971L175 939L0 982Z" fill="#6e0050"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -4,59 +4,59 @@ SPDX-FileCopyrightText: Night Theme Switcher Contributors
SPDX-License-Identifier: GPL-3.0-or-later
-->
<schemalist gettext-domain="nightthemeswitcher@romainvigier.fr">
<enum id="org.gnome.shell.extensions.nightthemeswitcher.color-scheme-enum">
<value nick="default" value="0"/>
<value nick="prefer-dark" value="1"/>
<value nick="prefer-light" value="2"/>
</enum>
<schema id="org.gnome.shell.extensions.nightthemeswitcher" path="/org/gnome/shell/extensions/nightthemeswitcher/">
<key name="settings-version" type="i">
<default>0</default>
</key>
</schema>
<schema id="org.gnome.shell.extensions.nightthemeswitcher.commands" path="/org/gnome/shell/extensions/nightthemeswitcher/commands/">
<key name="enabled" type="b">
<default>false</default>
</key>
<key name="sunrise" type="s">
<default>""</default>
</key>
<key name="sunset" type="s">
<default>""</default>
</key>
</schema>
<schema id="org.gnome.shell.extensions.nightthemeswitcher.time" path="/org/gnome/shell/extensions/nightthemeswitcher/time/">
<key name="nightthemeswitcher-ondemand-keybinding" type="as">
<default><![CDATA[['<Shift><Super>t']]]></default>
</key>
<key name="fullscreen-transition" type="b">
<default>true</default>
</key>
<key name="manual-schedule" type="b">
<default>false</default>
</key>
<key name="sunrise" type="d">
<range min="0" max="24"/>
<default>6</default>
</key>
<key name="sunset" type="d">
<range min="0" max="24"/>
<default>20</default>
</key>
<key name="location" type="(dd)">
<default>(91,181)</default>
</key>
<key name="offset" type="d">
<range min="-6" max="6"/>
<default>0</default>
</key>
</schema>
<schema id="org.gnome.shell.extensions.nightthemeswitcher.color-scheme" path="/org/gnome/shell/extensions/nightthemeswitcher/color-scheme/">
<key name="day" enum="org.gnome.shell.extensions.nightthemeswitcher.color-scheme-enum">
<default>"default"</default>
</key>
<key name="night" enum="org.gnome.shell.extensions.nightthemeswitcher.color-scheme-enum">
<default>"prefer-dark"</default>
</key>
</schema>
<enum id="org.gnome.shell.extensions.nightthemeswitcher.color-scheme-enum">
<value nick="default" value="0"/>
<value nick="prefer-dark" value="1"/>
<value nick="prefer-light" value="2"/>
</enum>
<schema id="org.gnome.shell.extensions.nightthemeswitcher" path="/org/gnome/shell/extensions/nightthemeswitcher/">
<key name="settings-version" type="i">
<default>0</default>
</key>
</schema>
<schema id="org.gnome.shell.extensions.nightthemeswitcher.commands" path="/org/gnome/shell/extensions/nightthemeswitcher/commands/">
<key name="enabled" type="b">
<default>false</default>
</key>
<key name="sunrise" type="s">
<default>""</default>
</key>
<key name="sunset" type="s">
<default>""</default>
</key>
</schema>
<schema id="org.gnome.shell.extensions.nightthemeswitcher.time" path="/org/gnome/shell/extensions/nightthemeswitcher/time/">
<key name="nightthemeswitcher-ondemand-keybinding" type="as">
<default><![CDATA[['<Shift><Super>t']]]></default>
</key>
<key name="fullscreen-transition" type="b">
<default>true</default>
</key>
<key name="manual-schedule" type="b">
<default>false</default>
</key>
<key name="sunrise" type="d">
<range min="0" max="24"/>
<default>6</default>
</key>
<key name="sunset" type="d">
<range min="0" max="24"/>
<default>20</default>
</key>
<key name="location" type="(dd)">
<default>(91,181)</default>
</key>
<key name="offset" type="d">
<range min="-6" max="6"/>
<default>0</default>
</key>
</schema>
<schema id="org.gnome.shell.extensions.nightthemeswitcher.color-scheme" path="/org/gnome/shell/extensions/nightthemeswitcher/color-scheme/">
<key name="day" enum="org.gnome.shell.extensions.nightthemeswitcher.color-scheme-enum">
<default>"default"</default>
</key>
<key name="night" enum="org.gnome.shell.extensions.nightthemeswitcher.color-scheme-enum">
<default>"prefer-dark"</default>
</key>
</schema>
</schemalist>
+17 -17
View File
@@ -4,21 +4,21 @@ SPDX-FileCopyrightText: Night Theme Switcher Contributors
SPDX-License-Identifier: GPL-3.0-or-later
-->
<gresources>
<gresource prefix="/org/gnome/Shell/Extensions/nightthemeswitcher/preferences">
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/actions/nightthemeswitcher-code-symbolic.svg">icons/code-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/actions/nightthemeswitcher-translate-symbolic.svg">icons/translate-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/apps/nightthemeswitcher-symbolic.svg">icons/nightthemeswitcher-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-backgrounds-symbolic.svg">icons/backgrounds-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-commands-symbolic.svg">icons/commands-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-contribute-symbolic.svg">icons/contribute-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-schedule-symbolic.svg">icons/schedule-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-themes-symbolic.svg">icons/themes-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">ui/BackgroundButton.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/BackgroundsPage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/CommandsPage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/ContributePage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/SchedulePage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/ShortcutButton.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/TimeChooser.ui</file>
</gresource>
<gresource prefix="/org/gnome/Shell/Extensions/nightthemeswitcher/preferences">
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/actions/nightthemeswitcher-code-symbolic.svg">icons/code-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/actions/nightthemeswitcher-translate-symbolic.svg">icons/translate-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/apps/nightthemeswitcher-symbolic.svg">icons/nightthemeswitcher-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-backgrounds-symbolic.svg">icons/backgrounds-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-commands-symbolic.svg">icons/commands-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-contribute-symbolic.svg">icons/contribute-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-schedule-symbolic.svg">icons/schedule-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="icons/scalable/categories/nightthemeswitcher-themes-symbolic.svg">icons/themes-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">ui/BackgroundButton.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/BackgroundsPage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/CommandsPage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/ContributePage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/SchedulePage.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/ShortcutButton.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/TimeChooser.ui</file>
</gresource>
</gresources>
+3 -6
View File
@@ -2,10 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
i18n.gettext(
UUID,
args: [
'--sort-by-file',
'--from-code=UTF-8'
],
install_dir: INSTALL_DIR / 'locale'
UUID,
args: ['--sort-by-file', '--from-code=UTF-8'],
install_dir: INSTALL_DIR / 'locale',
)