Last active
November 7, 2018 22:48
-
-
Save adamki/8b9b603d88646ae2713fc804e1146b9f to your computer and use it in GitHub Desktop.
Slack Dark mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 'document.addEventListener('DOMContentLoaded', function() { | |
$.ajax({ | |
url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css', | |
success: function(css) { | |
$("<style></style>").appendTo('head').html(css); | |
} | |
}); | |
});' >> ~/../../../Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js |
might need to change permissions via sudo chmod -R 777 ~/../../../Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// https://gist.github.com/a7madgamal/c2ce04dde8520f426005e5ed28da8608
// copy and paste this into your command line. MACOS only.