Skip to content

Instantly share code, notes, and snippets.

@jkremser
jkremser / darkify_slack.sh
Last active March 27, 2019 16:52
dark slack
#! /bin/bash
#since slack 2.6.3 there is some hack in that file, so make sure this piece of code goes before the:
#start(assignIn({}, require('electron').remote.getGlobal('loadSettings'), { windowType: 'WEBAPP' }));
#..line
# since 3.0.5
# or before the 'const loadSettings = ...' line
cat << 'EOF' >> /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js