[Shell] Auto Dark Mode for WSL2 #652
sayandipdutta
started this conversation in
Custom scripts
Replies: 2 comments
-
|
Thank you! I've added a script tag so people can find it easily. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Tip: For some apps especially Gnome ones, install Enabled: true
Component:
Scripts:
- Name: wsl Debian gsettings
Command: cmd
ArgsLight: [/c, wsl -d Debian exec gsettings set org.gnome.desktop.interface color-scheme prefer-light]
ArgsDark: [/c, wsl -d Debian exec gsettings set org.gnome.desktop.interface color-scheme prefer-dark]
AllowedSources: [Any]Remember to replace |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What is this?
Change program (TUIs and GUIs) themes on WSL2 based on Windows theme switch by AutoDarkMode. Configured for
tmux,neovim,lazygit, .etc. And you can easily add more.Script
You can find the script and more details in https://github.com/sayandipdutta/autodarkmode-wsl .
How should I set this up in the ADM scripts file?
Example ADM scripts configuration:
Change the
path/to/repo/placeholder to the location where your script resides at.That's it.
You can find more info on how to configure ADM scripts here:
https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/wiki/How-to-add-custom-scripts
Disclaimer
Beta Was this translation helpful? Give feedback.
All reactions