https://github.com/oae/gnome-shell-minimize-to-tray
Minimize any app to tray
https://github.com/oae/gnome-shell-minimize-to-tray
gjs gnome gnome-shell-extension typescript webpack
Last synced: over 1 year ago
JSON representation
Minimize any app to tray
- Host: GitHub
- URL: https://github.com/oae/gnome-shell-minimize-to-tray
- Owner: oae
- License: gpl-2.0
- Archived: true
- Created: 2019-03-29T20:33:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T11:30:33.000Z (over 4 years ago)
- Last Synced: 2024-10-31T10:36:50.398Z (over 1 year ago)
- Topics: gjs, gnome, gnome-shell-extension, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 786 KB
- Stars: 62
- Watchers: 5
- Forks: 4
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minimize to Tray
[](#)
[](#)
[](#)
[](https://github.com/oae/gnome-shell-minimize-to-tray/blob/master/LICENSE)
[](https://github.com/oae/gnome-shell-minimize-to-tray/releases/latest)
[](https://github.com/oae/gnome-shell-minimize-to-tray/compare)
Minimize any app to tray

## Requirements
Make sure you have `xdotool`, `xwininfo`, `xprop`, `libwnck3` installed on your system.
## Installation
### From [Git](https://github.com/oae/gnome-shell-minimize-to-tray)
```bash
git clone https://github.com/oae/gnome-shell-minimize-to-tray.git
cd ./gnome-shell-minimize-to-tray
yarn install
yarn build
ln -s "$PWD/dist" "$HOME/.local/share/gnome-shell/extensions/minimize-to-tray@elhan.io"
```
### From [Ego](extensions.gnome.org)
- You can install it from link below
https://extensions.gnome.org/extension/1750/minimize-to-tray/
## Usage
- From the extension settings, you can click add button and select any opened window to put them in to tray
- There are three options for each application.
- **Change active status**: You can disable the minimization for specific application
- **Minimize window on start**: Whenever a new window opens for the application, it will automatically hide and minimize to tray
- **Keyboard shorcut support**: This adds global keybindings to application window visibility. It currently supports ``, ``, `` and `0-9`, `a-z` keys. If there are are more than one window for specific application, it will focus to last used window.

## Development
- This extension is written in Typescript and uses webpack to compile it into javascript.
- Most dependencies have auto completion support thanks to [this amazing project](https://github.com/sammydre/ts-for-gjs) by [@sammydre](https://github.com/sammydre)
- To start development, you need nodejs installed on your system;
- Clone the project
```sh
git clone https://github.com/oae/gnome-shell-minimize-to-tray.git
cd ./gnome-shell-minimize-to-tray
```
- Install dependencies and build it
```sh
yarn install
yarn build
```
- During development you can use `yarn watch` command to keep generated code up-to-date.