Skip to content
forked from mlvzk/discocss

A tiny Discord css-injector for Linux and MacOS.

License

Notifications You must be signed in to change notification settings

polyeto/discocss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

DiscoCSS

A tiny Discord css-injector.

Installation

git clone https://github.com/mlvzk/discocss
cp discocss/discocss /usr/bin # or any other directory in your $PATH

If you use Arch Linux, there's an unofficial AUR package available: discocss-git

Usage

Put your css in ~/.config/discocss/custom.css

Run discocss

Notes

Transparency

If you want your window to be transparent, you have to change the --background- css variables to have an alpha value. You can add alpha to a hex color by appending 2 extra hex digits to it. Example from my theme (44 is the hex alpha value):

.theme-light {
  --background-primary: #f3f4f644;
  --background-primary-alt: #eeeff244;
  --background-secondary: #e5e7eb44;
  --background-secondary-alt: #d1d5db44;
  --background-tertiary: #dfe2e744;
}

Persistence

If after an update your theme doesn't work anymore, close and run discocss again. Discord might be running in the background without you knowing, so if it still doesn't work, use pkill.

About

A tiny Discord css-injector for Linux and MacOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%