Skip to content

Vantesh/chrome-dark-mode-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

chrome-dark-mode-linux

This is a workaround fix to an issue where chrome does'nt enable dark mode on linux even when systemwide dark mode is enabled.

Works on any linux distro.

Steps

Run the shell script below in terminal

sudo sed -i 's/^Exec=\/usr\/bin\/google-chrome-stable$/& --enable-features=WebUIDarkMode --force-dark-mode/' /usr/share/applications/google-chrome.desktop
sudo sed -i 's/%U/--enable-features=WebUIDarkMode --force-dark-mode &/' /usr/share/applications/google-chrome.desktop

Restart Chrome.

Note

You have to run the shell script again after every chrome update. Only works on chrome stable version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published