Skip to content

Instantly share code, notes, and snippets.

@adamki
Last active November 7, 2018 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamki/8b9b603d88646ae2713fc804e1146b9f to your computer and use it in GitHub Desktop.
Save adamki/8b9b603d88646ae2713fc804e1146b9f to your computer and use it in GitHub Desktop.
Slack Dark mode
#!/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
@adamki
Copy link
Author

adamki commented Oct 16, 2018

// https://gist.github.com/a7madgamal/c2ce04dde8520f426005e5ed28da8608
// copy and paste this into your command line. MACOS only.

@adamki
Copy link
Author

adamki commented Oct 16, 2018

@adamki
Copy link
Author

adamki commented Nov 7, 2018

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