Skip to content

Instantly share code, notes, and snippets.

@l-portet
Last active December 15, 2023 15:08
Show Gist options
  • Save l-portet/1c5e9c4820bacd12474e8bb2f234c8ce to your computer and use it in GitHub Desktop.
Save l-portet/1c5e9c4820bacd12474e8bb2f234c8ce to your computer and use it in GitHub Desktop.
Restore old Slack layout in the Electron app

Open the Slack app on dev mode

export SLACK_DEVELOPER_MENU=true && open /Applications/Slack.app/

Inject this in the localStorage

localStorage.setItem("localConfig_v2", localStorage.getItem("localConfig_v2").replace(/\"is_unified_user_client_enabled\":true/g, '\"is_unified_user_client_enabled\":false'))

Reload window — Cmd + R

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