I am not using the GNOME desktop environment any more so this script won't recieve frequent updates |
A simple bash shell script to switch( on/off ) the nightlight gnome option
You can easily use the nightlight mode with gnome desktops.
You can also follow this video tutorial.
- Download the latest release (or clone the repository)
- Extract the archive and go into the extracted folder
- Add the execution privileges to the
installer.sh
file :
chmod u+x installer.sh
- Run
./installer.sh
and follow the instruction - Now you can switch the NightLight mode with Ctrl+Shift+L or your custom shortcut.
It is very pleasant to use with shortcuts:
- You just need to go type shortcut in gnome search bar and add a shortcut.
- In the field
command
paste the path to the shell script. - (Easy)Go to
Display Settings
, at the bottom you should see "Night Light". Set the hour from00:00
to23:59
. (Advanced)You can also download the dconf editor and go toorg/gnome/settings-daemon/plugins/color/
. Then setnight-light-schedule-from=0
andnight-light-schedule-to=24
.
📝 Modify the shortcut in Gnome settings under the keyboard tab ❗
- remove the .CoPaScripts in your home directory
- remove the shortcut in the gnome settings under the keyboard tab
(anuninstaller.sh
will be provided in the future)
This project is licensed under the GPL-3 license.
Created by Paul Coral