Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 575 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 575 Bytes

WSL Theme Sync

This is just a script 😅 to help with reading the registry setting for if Windows Apps are set to run in Light or Dark mode.

Adding it to your shell rc or profile will cause it to evaluate whenever you run a Linux app in WSLg, which will cause the app to then launch in a light/dark theme if it supports GTK theming and is Wayland (I've noticed XWayland doesn't always end up in the expected theme...).

Dependencies

Adwaita and Adwaita-dark.

# dnf based
sudo dnf install gnome-themes-extra

# apt based
sudo apt install gnome-themes-extra