MyNixOS website logo
package

gnome-shell-extension-gnome-bedtime

Description

Hey Gnome, it's bedtime! Converts to grayscale the entire Gnome workspace by using a smooth transition. Best to use during evening/night.

Hey Gnome, it's bedtime! Converts to grayscale the entire Gnome workspace by using a smooth transition. Best to use during evening/night.

This behavior is similar to Android's bedtime mode which converts the phone screen to grayscale. It should somewhat make your device less appealing and limit the usage of it before bedtime. On my side, at least, it still requires a fair amount of self control in order to make that happen.

The extension has a nice Settings UI where you can customize it to your liking:

  • Set an automatic schedule for turning on/off the Bedtime Mode
  • Add an On Demand button to Top Bar or a Quick Settings toggle to manually enable/disable the mode
  • Control the On Demand button visibility, appearance and position in Top Bar
  • Choose another color preset and intensity, if you prefer a different color scheme
  • Change color intensity on the fly by scrolling over the On Demand button in Top Bar

Multi language support is also available, please check the GitHub page if you want to help with the translations. So far, the extension is fully translated to Italian, Spanish, Dutch, German, Czech, Romanian and English.

If you want to use a keyboard shortcut in order to toggle the Bedtime Mode then you can use this command for the shortcut:

bash -c 'schema_id=org.gnome.shell.extensions.bedtime-mode; schema_dir=~/.local/share/gnome-shell/extensions/[email protected]/schemas/; if [[ $(gsettings --schemadir $schema_dir get $schema_id bedtime-mode-active) == true ]]; then turn_on=false; else turn_on=true; fi; gsettings --schemadir $schema_dir set $schema_id bedtime-mode-active $turn_on;'