Skip to content

Instantly share code, notes, and snippets.

@Krymancer
Created March 3, 2020 02:29
Show Gist options
  • Save Krymancer/482854acc95bf4f160eba344b12720e9 to your computer and use it in GitHub Desktop.
Save Krymancer/482854acc95bf4f160eba344b12720e9 to your computer and use it in GitHub Desktop.
Force dark mode in chrome
#bin/bash
if [ -z "$1" ]
then
echo "Invalid arguments"
else
sed -i 's|Exec=/usr/bin/google-chrome-stable|Exec=/usr/bin/google-chrome-stable --force-dark-mode|g' $1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment