Fork of Manuel's thing to support linux. Bash replacements for the batch files, and directory structure fixed for linux.
Tested and seems to be working on Manjaro, Ubuntu, and Arch Linux.
This theme enables you to set custom css and js to run inside discord.
It comes with a default css theme and some aditional functions coded in.
- Install Asar package
- Universal:
npm install asar
- Ubuntu:
snap install asar
- Arch/Manjaro:
pacman -S asar
- Universal:
- Download the zip or clone the project.
- Run
chmod +x install.sh && ./install.sh
.
- Run
chmod +x updater.sh && ./updater.sh
- Run
chmod +x uninstall.sh && ./uninstall.sh
After a discord update the theme might break. If that happens try installing it again.
If that doesn't solve it then it might be fixed soon, but just in case it doesn't you can always open a pull request.
- CSS is added in a folder under the
themes
folder. - All CSS files in a theme folder will be ran.
- A default theme already exists which adds a background image to discord.
- Themes can be selected via the expanded discord settings.
- Custom JS should be put in the
code
folder. - Several variables created in the core theme files are accessible here.
- Please check the files under
.files\.js
and.files\.js-before-load
for functions you may want to expand.
Run /help
for a list of commands
Some extra options have been added to different context menus.
- User
- Get Info
- Message
- React With Text ( Will open a command line with the command
/react
ready to post )
- React With Text ( Will open a command line with the command
- Image
- Search Image On ( Reverse Image Search )
- Save Attachment As ( Saves image to specified location )
- LINE Stickers can be added by using
get_stickers.sh
, with the ids as args. E.g.,get_stickers.sh id id id
. - The id is the number in the sticker url.
- The default platform is iphone ( for better resolution ). If that fucks up, use
-a
to get the android version.
All Settings are turned off by default, so make sure you turn them on if you want them.