Skip to content

Instantly share code, notes, and snippets.

@JHWelch
Last active January 8, 2024 20:58
Show Gist options
  • Save JHWelch/301156d9a83c6145403f441b986c9b52 to your computer and use it in GitHub Desktop.
Save JHWelch/301156d9a83c6145403f441b986c9b52 to your computer and use it in GitHub Desktop.
Open Legacy Slack Interface Raycast script
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open Slack
# @raycast.mode silent
# Optional parameters:
# @raycast.icon /Applications/Slack.app/Contents/Resources/electron.icns
# Documentation:
# @raycast.description Open Slack ready legacy view
export SLACK_DEVELOPER_MENU=true
echo "localStorage.setItem(\"localConfig_v2\", localStorage.getItem(\"localConfig_v2\").replace(/\\\"is_unified_user_client_enabled\\\":true/g, '\\\"is_unified_user_client_enabled\\\":false'))" | pbcopy
echo "Press cmd + opt + I, paste and run in console, and cmd + R to reload"
open /Applications/Slack.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment