Skip to content

Instantly share code, notes, and snippets.

@StewGoin
StewGoin / fixslack.sh
Created January 24, 2019 17:22
darkmode
#!/bin/bash
cat << 'EOF' >> /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
const customCSSURL = 'https://gist.githubusercontent.com/raw/92cec34ef4897a8a2258b42036d89537/discordish.css';
document.addEventListener('DOMContentLoaded', function() {
(new Promise((good,bad) => { fetch(customCSSURL).then( response => { good(response.text()) } ); }))
.then((cssText) => { $("<style></style>").appendTo('head').html(cssText); });
});
EOF
> raise pend
Tugging lightly, you slide the moon-filled pendant back and forth along its chain. A faint fire-hued orb materializes above your head, spinning for a moment before the image fades.
> raise pend
Tugging lightly, you slide the moon-filled pendant back and forth along its chain. A faint shadowy black orb materializes above your head, spinning for a moment before the image fades.
> raise pend
Tugging lightly, you slide the moon-filled pendant back and forth along its chain. A faint ice blue orb materializes above your head, spinning for a moment before the image fades.

Keybase proof

I hereby claim:

  • I am stewgoin on github.
  • I am stewgoin (https://keybase.io/stewgoin) on keybase.
  • I have a public key whose fingerprint is 1B5E D30E 922B 8B95 5679 E65A 7C7D F674 A785 FE42

To claim this, I am signing this object: