Skip to content

Instantly share code, notes, and snippets.

@a7madgamal
Last active November 24, 2024 16:39
Show Gist options
  • Select an option

  • Save a7madgamal/c2ce04dde8520f426005e5ed28da8608 to your computer and use it in GitHub Desktop.

Select an option

Save a7madgamal/c2ce04dde8520f426005e5ed28da8608 to your computer and use it in GitHub Desktop.
Dark mode for Slack on MacOS
@diamondsw
Copy link
Copy Markdown

Tried this today; sed doesn't check for bootSonic:"always", which was the default in my local-settings.json .

@BRONDIJKxyz
Copy link
Copy Markdown

Hey @M-Brond and @LanikSJ

Thank you so much! It works now, really appreciate your help.

@Anishmourya
Copy link
Copy Markdown

Thank you so much. it works for me.

@daspuru
Copy link
Copy Markdown

daspuru commented Aug 27, 2019

Hi all!

I just ran the commands for Slack 4.0.2 and the colors are exactly the same. Any recommendations?

At the end of the process I can see in the terminal:

npx: installed 21 in 3.054s
promisify is not a function

Done! After executing this script restart Slack for changes to take effect.

Thanks!

@LanikSJ
Copy link
Copy Markdown

LanikSJ commented Aug 27, 2019

@daspuru
Copy link
Copy Markdown

daspuru commented Aug 27, 2019

@daspuru try these instructions: https://github.com/LanikSJ/slack-dark-mode#usage

Hi @LanikSJ, thanks, but I followed the instructions with no success.. One thing to notice is that I got this message: promisify is not a function.

Please look at this screenshot:

Screen Shot 2019-08-27 at 5 13 28 PM

I already tried: npm install util.promisify

@LanikSJ
Copy link
Copy Markdown

LanikSJ commented Aug 27, 2019

In Slack, Help -> Troubleshooting -> Clear Cache and Restart.

Can't help you with your promisify error message. I'm not familiar with it.

@demisx
Copy link
Copy Markdown

demisx commented Aug 28, 2019

@daspuru What version of node are you running? I believe pomisify() fn was introduced in utils package starting with node v8.

$ node -v 

@daspuru
Copy link
Copy Markdown

daspuru commented Aug 28, 2019

@demisx Version is v7.9.0

@LanikSJ Cleaning cache is not working.

Thanks all

@LanikSJ
Copy link
Copy Markdown

LanikSJ commented Aug 28, 2019

You need to update your NodeJS to at least latest LTS.

@daspuru
Copy link
Copy Markdown

daspuru commented Aug 28, 2019

@LanikSJ Upgrading did the trick. Thanks a lot!! :)

@bcbird304
Copy link
Copy Markdown

@LanikSJ Thanks for the update, those instructions worked

@tripp396
Copy link
Copy Markdown

Using the instructions my terminal session on my Mac just hangs for 3-5 minutes. Once or twice I got a "Socket is not connected" error or something of the like. Otherwise it just hangs and nothing happens. Slack is closed, tried running using sudo and without.

@LanikSJ
Copy link
Copy Markdown

LanikSJ commented Sep 12, 2019

Slack now supports Dark Mode natively: https://slackhq.com/dark-mode-for-slack-desktop

@a7madgamal if you could update the first post to reflect this. 😎

@tripp396
Copy link
Copy Markdown

Slack now supports Dark Mode natively: https://slackhq.com/dark-mode-for-slack-desktop

@a7madgamal if you could update the first post to reflect this. 😎

I just saw this! Great news!

@a7madgamal
Copy link
Copy Markdown
Author

FINALLYYYYYYYYY πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰

@Dahmenator
Copy link
Copy Markdown

How does one remove/uninstall the dark mode content we've been tooling around with using git?

@LanikSJ
Copy link
Copy Markdown

LanikSJ commented Sep 12, 2019

Reinstall Slack. Problem solved. 😎

@Dahmenator
Copy link
Copy Markdown

@LanikSJ

Thanks! Worked like a charm.

@marchrius
Copy link
Copy Markdown

Thank you guys for this beautiful trip! Bye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment