recette-lemon / DiscordTheme

Custom css, js, and commands for the linux discord client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Theme Linux Version

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.

ss

Install

  • Install Asar package
    • Universal: npm install asar
    • Ubuntu: snap install asar
    • Arch/Manjaro: pacman -S asar
  • Download the zip or clone the project.
  • Run chmod +x install.sh && ./install.sh.

Update

  • Run chmod +x updater.sh && ./updater.sh

Uninstall

  • Run chmod +x uninstall.sh && ./uninstall.sh

Problems

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.

Features

Custom CSS

  • 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.

ss

Custom JS

  • 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.

Extra Discord Features

Commands

Run /help for a list of commands

Context Menu

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 )
  • Image
    • Search Image On ( Reverse Image Search )
    • Save Attachment As ( Saves image to specified location )

LINE Stickers

  • 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.

ss

Other Settings

All Settings are turned off by default, so make sure you turn them on if you want them.

ss

About

Custom css, js, and commands for the linux discord client


Languages

Language:JavaScript 78.4%Language:CSS 18.1%Language:Batchfile 2.0%Language:Shell 1.4%