50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
<!--
|
||
SPDX-FileCopyrightText: Night Theme Switcher Contributors
|
||
SPDX-License-Identifier: CC-BY-SA-4.0
|
||
-->
|
||
|
||
# Night Theme Switcher
|
||
|
||

|
||
|
||
Automatically toggle your desktop’s color scheme between light and dark, switch backgrounds and run custom commands at sunset and sunrise.
|
||
|
||
## Graphical installation
|
||
|
||
Visit [the extension page on extensions.gnome.org](https://extensions.gnome.org/extension/2236/night-theme-switcher/) and enable the extension.
|
||
|
||
## Command line installation
|
||
|
||
You will need these tools:
|
||
|
||
- `meson`
|
||
- `gettext`
|
||
- `glib-compile-schemas`
|
||
- `glib-compile-resources`
|
||
|
||
Clone the repository and enter the directory:
|
||
|
||
```bash
|
||
git clone https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension.git && cd nightthemeswitcher-gnome-shell-extension
|
||
```
|
||
|
||
Build and install using `meson`:
|
||
|
||
```bash
|
||
# System-wide installation
|
||
meson setup builddir && meson install -C builddir
|
||
|
||
# User installation
|
||
meson setup builddir --prefix=~/.local && meson install -C builddir
|
||
```
|
||
|
||
Restart your GNOME session and enable the extension:
|
||
|
||
```bash
|
||
gnome-extensions enable nightthemeswitcher@romainvigier.fr
|
||
```
|
||
|
||
## Contributing
|
||
|
||
You're welcome to contribute to the code or the translations! See [CONTRIBUTING.md](./CONTRIBUTING.md).
|