Skip to content

Instantly share code, notes, and snippets.

@VoxelPrismatic
Last active May 14, 2021 04:42
Show Gist options
  • Save VoxelPrismatic/cccf1b583c804c40284b756a59046fc8 to your computer and use it in GitHub Desktop.
Save VoxelPrismatic/cccf1b583c804c40284b756a59046fc8 to your computer and use it in GitHub Desktop.
Change the discord fonts back

Intentions

This gist is made for those who want to change that horrific font Discord uses in the channel and category names.

Horrific: horrific font

Fixed: fixed font

Instructions

Run the corresponding script in your terminal or command prompt, then restart discord [ctrl+r works too]

NOTE: I do not have a mac, so there is no script for mac unfortunately.

NOTE: You may need to run the windows script as administrator.

Contents

# **ONLY RUN ON LINUX**
# **FOR THE CANARY DEB/RPM PACKAGE**
cd ~/.config/discordcanary/modules/discord_utils
echo 'document.head.insertAdjacentHTML("beforeend","<style>:root{--font-default:whitney !important}</style>")' >> index.js
# **ONLY RUN ON LINUX**
# **FOR THE PTB DEB/RPM PACKAGE**
cd ~/.config/discordptb/modules/discord_utils
echo 'document.head.insertAdjacentHTML("beforeend","<style>:root{--font-default:whitney !important}</style>")' >> index.js
# **ONLY RUN ON LINUX**
# **FOR THE SNAP PACKAGE**
cd ~/snap/discord/current/.config/discord/modules/discord_utils
echo 'document.head.insertAdjacentHTML("beforeend","<style>:root{--font-default:whitney !important}</style>")' >> index.js
# **ONLY RUN ON LINUX**
# **FOR THE STABLE DEB/RPM PACKAGE**
cd ~/.config/discord/modules/discord_utils
echo 'document.head.insertAdjacentHTML("beforeend","<style>:root{--font-default:whitney !important}</style>")' >> index.js
rem **ONLY RUN THIS ON WINDOWS**
rem **FOR DISCORD CANARY**
cd %appdata%\..\local\discordcanary\app-1*\modules\discord_utils*\discord_utils
echo document.head.insertAdjacentHTML^("beforeend","<style>:root{--font-default:whitney !important}</style>"^) >> index.js
rem **ONLY RUN THIS ON WINDOWS**
rem **FOR DISCORD PTB**
cd %appdata%\..\local\discordptb\app-1*\modules\discord_utils*\discord_utils
echo document.head.insertAdjacentHTML^("beforeend","<style>:root{--font-default:whitney !important}</style>"^) >> index.js
rem **ONLY RUN THIS ON WINDOWS**
rem **FOR DISCORD STABLE**
cd %appdata%\..\local\discord\app-1*\modules\discord_utils*\discord_utils
echo document.head.insertAdjacentHTML^("beforeend","<style>:root{--font-default:whitney !important}</style>"^) >> index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment