Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

zt64/custom-window-buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This plugin was designed only for Linux distributions, not for Windows or any other operating system.

Installation

To install this plugin clone it with the command below.

git clone https://github.com/Litleck/no-linux-frame.git

For the plugin to look proper you will need to edit a file that is a part of Powercord. This file can be found in your powercord install directory at /src/browserWindow.js

Open browserWindow.js in your preferred editor and look for:

if (transparency) {
  opts.transparent = true;
  opts.frame = process.platform === 'win32' ? false : opts.frame;
  delete opts.backgroundColor;
}

Right below this segment of code add the following:

opts.frame = false;

Save the file then fully restart your Discord client. If all is done correctly the frame should be gone and there should be minimize, maximize and close buttons on the toolbar.

Contributing

Pull requests are welcome. For any bugs, please open an issue first so we can discuss.

License

MIT

About

A plugin for Powercord which adds minimize, maximize, and close buttons to the Discord toolbar.

Resources

License

Stars

Watchers

Forks