wm-scheme-toggle

generic window manager scheme toggler
Index Commits Files Refs README LICENSE
ModeNameSize
-rw-r--r--LICENSE21L
-rw-r--r--README.md43L
-rwxr-xr-xsys-dark-scheme65L
-rwxr-xr-xsys-light-scheme65L
-rwxr-xr-xsys-toggle-scheme5L

Window Manager Scheme Toggler

Scripts to change the system color scheme between dark and light.

Toggling dark scheme

Dependencies

The basic dependencies for my use case are:

This will vary from system to system, for example, if you don't use neovim and you use a different editor or terminal, etc. In that case, you can modify the scripts in order to fit your system.

Quick Start

If you want to switch the color scheme just run $ ./sys-toggle-scheme which is a wrapper around sys-dark-scheme and sys-light-scheme.

Troubleshooting

As of 11 march 2024 some GTK4 apps are not following the preferred scheme due to a problem apparently on xdg-desktop-portal (check out this discussion) the solution taken from the linked discussion is to create ~/.config/xdg-desktop-portal/portals.conf and add the following content

[preferred]
default=gtk

LICENSE

MIT